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
[root@ajarno /root]# declare -x LD_LIBRARY_PATH="/usr/lib"
[root@ajarno /root]# rpm -qa
info-4.0-19mdk
libSDL_mixer1.1-1.1.0-1mdk
perl-Convert-BER-1.31-1mdk
tksysv-1.3-2mdk
apmd-3.0final-15mdk
detect-lst-0.9.72-3mdk
................

Reply via email to