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

Re: [mdk-admin] rpm upgrade (fwd)




On Mon, 22 Oct 2001, Tzafrir Cohen wrote:

> $ LD_LIBRARY_PATH=$HOME/tmp/lib:/lib rpm --rebuilddb
> /usr/lib/rpm/rpmd: /lib/ld-linux.so.2: version `GLIBC_2.2.3' not found (required by /home/tzafrir/tmp/lib/libc.so.6)
> /usr/lib/rpm/rpmd: /lib/ld-linux.so.2: version `GLIBC_2.2' not found (required by /home/tzafrir/tmp/lib/libc.so.6)

well, '/lib/ld-linux.so.2' is a symlink to a library that comes as part of
glibc. check if you have a link with the same name in your temporary
directory. perhaps check 'LD_LIBRARY_PATH=$HOME/tmp/lib ldd /bin/rpm'

note also that i completely removed /lib from the LD_LIBRARY_PATH, to make
sure it does not attempt to pick there, thought then you'll have to copy
other missing libraries to that library.

also, the other libraries (the non-glibc ones) that rpm uses, are taken
from the system (since you didn't unpack them into $HOME/tmp/lib) - and
those copies, in turn, were compiled using the older glibc - something
that _might_ cause problems... perhaps try to also unpack those libraries
into $HOME/tmp/lib - but not before checking the issue with ld-linux.so.2

--
guy

"For world domination - press 1,
 or dial 0, and please hold, for the creator." -- nob o. dy


=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il