Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

finding dynamic library files?

0 views
Skip to first unread message

andu...@home.com

unread,
Aug 3, 2000, 3:00:00 AM8/3/00
to
installed the gdkpixbuf and gnomecanvaspixbuf library file for gnome, to use
insted of imlib...

problem: on doing the stand ./configre;make;make install the library is
installed in /usr/local/lib

question: how do i make the dynamic library loader 'aware' that it should also
search this directory as opposed to the 'standard' ones. i have come across
this problem b4, on istalling additional library;s they have been installed to
the /usr/local/lib directory BUT then programs that require them canNOT find
them and hence fail.

luke duguid

--
no signature...yet!

rpe...@please.nospam.optelnow.net

unread,
Aug 3, 2000, 3:00:00 AM8/3/00
to

> luke duguid

setenv LD_LIBRARY_PATH directory1:directory2:..:directoryn

unless I am missing somethin


Prasanth A. Kumar

unread,
Aug 4, 2000, 3:00:00 AM8/4/00
to
andu...@home.com writes:

> installed the gdkpixbuf and gnomecanvaspixbuf library file for gnome, to use
> insted of imlib...
>
> problem: on doing the stand ./configre;make;make install the library is
> installed in /usr/local/lib
>
> question: how do i make the dynamic library loader 'aware' that it should also
> search this directory as opposed to the 'standard' ones. i have come across
> this problem b4, on istalling additional library;s they have been installed to
> the /usr/local/lib directory BUT then programs that require them canNOT find
> them and hence fail.
>
> luke duguid
>

> --
> no signature...yet!

Make sure the path is listed in /etc/ld.so.conf and then run as root
'ldconfig -v' to update the cache. This is normally done once during
bootup and inside of RPM packages I think so normally you don't need
to do this manually. You can also 'export LD_LIBRARY_PATH=<path>' if a
non-root user needs to do it temporarily but that wont work with suid
executables obviously.

--
Prasanth Kumar
kum...@home.com

0 new messages