LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-28-2003, 01:06 AM   #1
kublador
Member
 
Registered: Aug 2002
Location: Philippines
Distribution: Slackware, CentOS, Ubuntu
Posts: 325

Rep: Reputation: 30
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 =)
 
Old 02-28-2003, 01:06 AM   #2
kublador
Member
 
Registered: Aug 2002
Location: Philippines
Distribution: Slackware, CentOS, Ubuntu
Posts: 325

Original Poster
Rep: Reputation: 30
how do i do the locating of libraries? please help...
 
Old 02-28-2003, 01:37 AM   #3
salparadise
Senior Member
 
Registered: Nov 2002
Location: Birmingham UK
Distribution: Various
Posts: 1,736

Rep: Reputation: 146Reputation: 146
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
 
Old 02-28-2003, 08:56 PM   #4
kublador
Member
 
Registered: Aug 2002
Location: Philippines
Distribution: Slackware, CentOS, Ubuntu
Posts: 325

Original Poster
Rep: Reputation: 30
thats it.. after i found the file... where do i add it?
 
Old 02-28-2003, 08:57 PM   #5
kublador
Member
 
Registered: Aug 2002
Location: Philippines
Distribution: Slackware, CentOS, Ubuntu
Posts: 325

Original Poster
Rep: Reputation: 30
i mean how do i add the paths? where? and how?
 
Old 02-28-2003, 10:56 PM   #6
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
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
 
Old 03-01-2003, 08:38 AM   #7
kublador
Member
 
Registered: Aug 2002
Location: Philippines
Distribution: Slackware, CentOS, Ubuntu
Posts: 325

Original Poster
Rep: Reputation: 30
cool!! thanks man =)
 
Old 03-01-2003, 12:33 PM   #8
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
You're Welcome
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
g77/Linux: how to locate floating point errors in my own shared libs? Stephan P. Programming 3 08-05-2005 02:23 PM
Program installed, now can't locate or start it rollo Linux - Newbie 24 12-29-2004 09:22 PM
installed libraries to new location, but libtool still thinks it's in /usr/local bobwall Linux - Software 3 12-01-2004 11:34 AM
VM not in PATH - Cannot locate installed components chidman Linux - Newbie 3 10-14-2004 10:39 PM
where the applications locate installed in rpm way? cnwillow Linux - Newbie 1 11-18-2003 02:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration