View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 4 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Mon Aug 04, 2008 4:58 pm 
Offline
Joined: Fri May 21, 2004 11:55 pm
Posts: 1206
Location: Silicon Valley, CA
I admit to being somewhat unschooled in this Linux stuff. I'm trying to figure out if I have a problem or not. My specific issue is that I have installed a certain library in /usr/lib and it seems as though the programs which look for it are not finding it.

I looked at the contents of the files in the directory /etc/ld.so.conf.d and found that there is no mention of /usr/lib in either of the two files in the directory. (There IS a mention of /usr/local/lib, but not /usr/lib.) I noticed that there are many, many more library files in /usr/lib than in /usr/local/lib, so it left me with the question... If the files in /usr/lib are not being found, how could the system possibly even work??

I can't be specific about the library I am loading other than to say it has to do with a certain tropical fruit that is popular among MythTv users. And in the greater sense, the actual name of the library is unimportant in this context.

_________________
Do you code to live, or live to code?
Search LinHES forum through Google


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 04, 2008 6:34 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
Is the file a shared library? These usually have names that end something like .so or .so.2 or .so.2.0.8 with the shorter forms generally being symlinks to the file with the full version number. If it's a .a file it's not going to do you much good unless you're going to compile and link statically against it. The best way to install shared libraries is usually via some automated process like a build script or using dpkg and a .deb file, or using alien with a .rpm file as they often have other parts and dependencies...


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 04, 2008 7:12 pm 
Offline
Joined: Fri May 21, 2004 11:55 pm
Posts: 1206
Location: Silicon Valley, CA
Thanks for the response. Yes, it is a shared library and it has versions that end in .so, .so.3, and .so.3.2.1. (There is a .a file too, but I don't care to use that.) The files were installed via "apt-get install" so they are from a standard dpkg distribution.

The shared libs are owned by root, and they have the "x" (execute) bit set.

_________________
Do you code to live, or live to code?
Search LinHES forum through Google


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 05, 2008 12:02 am 
Offline
Joined: Fri May 21, 2004 11:55 pm
Posts: 1206
Location: Silicon Valley, CA
I found I was missing yet another piece of the tropical fruit. I now have all the fruit I need and my search for libraries is complete.

_________________
Do you code to live, or live to code?
Search LinHES forum through Google


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu