Re: Dependancy generation problem.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2005-09-06 at 16:27 -0400, Steven W. Orr wrote:
> I'm new at writing spec files so please be gentle.
> 
> I'm running a specfile I wrote on a Red Hat 9 system. rpm-4.2-0.69
> 
> I run the rpm -bb and I get this in the output at the end:
> 
> Processing files: guard_stap-1.0-1
> Requires(interp): /bin/sh /bin/sh
> Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 
> rpmlib(PayloadFilesHavePrefix) <= 4.0-1
> Requires(post): /bin/sh
> Requires(preun): /bin/sh
> Requires: /bin/sh /usr/bin/perl libc.so.6 libc.so.6(GLIBC_2.0) 
> libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.2) libc.so.6(GLIBC_2.3) 
> libc.so.6(GLIBC_2.3.3) libc.so.6(GLIBC_2.3.4) perl(File::Basename) 
> perl(Sys::Syslog)
> Checking for unpackaged file(s): /usr/lib/rpm/check-files 
> /var/tmp/guard_stap-root
> Wrote: /usr/src/redhat/RPMS/i386/guard_stap-1.0-1.i386.rpm
> Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.84050
> 
> The problem is that when I go to install it I get the following error:
> 
> bash-2.05b$ sudo rpm -Uvh 
> /usr/src/redhat/RPMS/i386/guard_stap-1.0-1.i386.rpm
> error: Failed dependencies:
>          libc.so.6(GLIBC_2.3.4) is needed by guard_stap-1.0-1
> bash-2.05b$
> 
> rpm -q glibc shows that I am running glibc-2.3.2-27.9.7 and there's 
> nothing on here (that I know of) that should be causing me to be using 
> 2.3.4.
> 
> Can someone help? How can I shut that dependancy off at build time?

One possibility is that there's a binary (built somewhere else against a
newer glibc) included somewhere in the guard_stap source tarball which
ends up installed on the system. Seen that on occasion and can certainly
cause "impossible" dependencies like this.

	- Panu -

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux