Le Samedi 13 Janvier 2001 09:00, vous avez écrit :
> Aurelien Jarno <[EMAIL PROTECTED]> writes:
> > 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.
>
> Here is what you should have:
>
> $ ldd /usr/lib/rpm/rpmq
>         librpmbuild.so.0 => /usr/lib/librpmbuild.so.0 (0x40029000)
>         librpm.so.0 => /usr/lib/librpm.so.0 (0x4004f000)
>         libdb.so.2 => /usr/lib/libdb.so.2 (0x40106000)
>         librpmio.so.0 => /usr/lib/librpmio.so.0 (0x40114000)
>         libz.so.1 => /usr/lib/libz.so.1 (0x4012e000)
>         libbz2.so.1 => /usr/lib/libbz2.so.1 (0x4013d000)
>         libpopt.so.0 => /lib/libpopt.so.0 (0x4014d000)
>         libc.so.6 => /lib/libc.so.6 (0x40153000)
>         /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
>
> You should have no /lib/librpm* file. Could you issue a
> rpm -qf /lib/librpm* ?

[root@ajarno root]# rpm -qf /lib/librpm*
file /lib/librpmbuild.so.0 is not owned by any package
file /lib/librpmbuild.so.0.0.0 is not owned by any package
file /lib/librpm.so.0 is not owned by any package
file /lib/librpm.so.0.0.0 is not owned by any package

I have deleted all this files, and it works !
It think it is an uninstall problem of rpm 3 during the upgrade.

Thanks for your help


Reply via email to