Le Vendredi 12 Janvier 2001 20:50, vous avez écrit :
> Aurelien Jarno <[EMAIL PROTECTED]> writes:
> > Le Vendredi 12 Janvier 2001 14:09, vous avez écrit :
> > > Aurelien Jarno <[EMAIL PROTECTED]> writes:
> > > > Hi all,
> > > >
> > > > I have just installed RPM4.0. It seems to works, but I need to run
> > > > the command declare -x LD_LIBRARY_PATH="/usr/lib" before using rpm.
> > > > In which file can can I add this line in order to not have to run it
> > > > before using rpm ?
> > >
> > > I don't understand why you have to do this. I'm not aware of any good
> > > reason to do that.
> >
> > Ok, I think that an example is better than a long speech :
> >
> > [root@ajarno /root]# rpm -qa
> > /usr/lib/rpm/rpmq: error while loading shared libraries:
> > /usr/lib/rpm/rpmq: undefined symbol: rpmQVArgs
>
> OK could you send me the output of ldd /usr/lib/rpm/rpmq ?
[root@ajarno /root]# ldd /usr/lib/rpm/rpmq
librpmbuild.so.0 => /lib/librpmbuild.so.0 (0x40027000)
librpm.so.0 => /lib/librpm.so.0 (0x4004f000)
libdb.so.2 => /usr/lib/libdb.so.2 (0x400a0000)
librpmio.so.0 => /usr/lib/librpmio.so.0 (0x400ae000)
libz.so.1 => /usr/lib/libz.so.1 (0x400c7000)
libbz2.so.1 => /usr/lib/libbz2.so.1 (0x400d6000)
libpopt.so.0 => /lib/libpopt.so.0 (0x400e7000)
libc.so.6 => /lib/libc.so.6 (0x400ed000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
[root@ajarno /root]#
Note that I have installed a Mandrake 7.2 in november, and then I updated
all my packages regularly with cooker. I have the problem since the upgrade
to rpm 4.0.