LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how do i locate or point the location of installed libraries? (https://www.linuxquestions.org/questions/linux-newbie-8/how-do-i-locate-or-point-the-location-of-installed-libraries-47538/)

kublador 02-28-2003 01:06 AM

how do i locate or point the location of installed libraries?
 
pls help...
the readme of the library files for xine said to locate the
libraries... etc...
and add some lines in /etc/ <and im not sure what the file is but there is a config at the end i think>

please help =)

kublador 02-28-2003 01:06 AM

how do i do the locating of libraries? please help...

salparadise 02-28-2003 01:37 AM

to find a file:

locate xxx (where xxx is name of file)

if locate returns no result then su to root and type updatedb
this will take a few minutes to complete
then exit back to user
and retype locate xxx

you then need to add the appropriate paths to the appropriate file

kublador 02-28-2003 08:56 PM

thats it.. after i found the file... where do i add it?

kublador 02-28-2003 08:57 PM

i mean how do i add the paths? where? and how?

MasterC 02-28-2003 10:56 PM

Add the path, so if it turned up in /usr/lib then add /usr/lib to /etc/ld.so.conf

Not the full filename path, just the directory path. So, if you locate:
library.so
And it returns:
/usr/lib/library.so
Add:
/usr/lib
To your /etc/ld.so.conf file NOT:
/usr/lib/library.so

After adding/updating your ld.so.conf run:
ldconfig (as root)

Cool

kublador 03-01-2003 08:38 AM

cool!! thanks man =)

MasterC 03-01-2003 12:33 PM

You're Welcome :)


All times are GMT -5. The time now is 12:40 AM.