Greg Hosler
2003-03-17 14:57:18 UTC
Hi,
I recently tried building an rpm for valgrind 1.0.4
(http://developer.kde.org/~sewardj/) (the spec file is in the tar.bz2 file)
the rpm spec file looks pretty innocent.
at the end of the rpm build, during dependency checking I see:
Requires: ld-linux.so.2 libc.so.6 /bin/sh /usr/bin/perl libc.so.6(GLIBC_2.0)
libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.2) libc.so.6(GLIBC_2.1.3)
libc.so.6(GLIBC_PRIVATE)
Wrote: /home/hosler/WIP/rpmbuild/RPMS/valgrind-1.0.4-1.i386.rpm
When I try to install the rpm (Red Hat 7.3, all eratta applied), I get the
following error message:
rpm -ivh valgrind-1.0.4-1.i386.rpm
error: failed dependencies:
libc.so.6(GLIBC_PRIVATE) is needed by valgrind-1.0.4-1
Now the interesting thing is:
# strings /lib/libc.so.6 | grep GLIBC_PRIVATE
GLIBC_PRIVATE
so the pre-requisite symbol is infact in the library, and
/usr/lib/rpm/find-requires found it, get when rpm goes to install, it can't
verify that the dependency is satisfied.
is this an rpm bug (kind of feels like it :(
is there a way around this particular situation ?
thank you, and best regards,
-Greg Hosler
+---------------------------------------------------------------------+
You can release software that's good, software that's inexpensive, or
software that's available on time. You can usually release software
that has 2 of these 3 attributes -- but not all 3.
| Greg Hosler ***@lugs.org.sg |
+---------------------------------------------------------------------+
I recently tried building an rpm for valgrind 1.0.4
(http://developer.kde.org/~sewardj/) (the spec file is in the tar.bz2 file)
the rpm spec file looks pretty innocent.
at the end of the rpm build, during dependency checking I see:
Requires: ld-linux.so.2 libc.so.6 /bin/sh /usr/bin/perl libc.so.6(GLIBC_2.0)
libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.2) libc.so.6(GLIBC_2.1.3)
libc.so.6(GLIBC_PRIVATE)
Wrote: /home/hosler/WIP/rpmbuild/RPMS/valgrind-1.0.4-1.i386.rpm
When I try to install the rpm (Red Hat 7.3, all eratta applied), I get the
following error message:
rpm -ivh valgrind-1.0.4-1.i386.rpm
error: failed dependencies:
libc.so.6(GLIBC_PRIVATE) is needed by valgrind-1.0.4-1
Now the interesting thing is:
# strings /lib/libc.so.6 | grep GLIBC_PRIVATE
GLIBC_PRIVATE
so the pre-requisite symbol is infact in the library, and
/usr/lib/rpm/find-requires found it, get when rpm goes to install, it can't
verify that the dependency is satisfied.
is this an rpm bug (kind of feels like it :(
is there a way around this particular situation ?
thank you, and best regards,
-Greg Hosler
+---------------------------------------------------------------------+
You can release software that's good, software that's inexpensive, or
software that's available on time. You can usually release software
that has 2 of these 3 attributes -- but not all 3.
| Greg Hosler ***@lugs.org.sg |
+---------------------------------------------------------------------+