Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I just installed FC5 and since pine is not supplied with the package I d/l the source code to install it.
There are several library files needed that are not on fc5 and I have been running around finding and installing them one at a time.
My question is - is there a way to find a package containing all the necessary library files for a program. I know which files I still need but I sure would like a better way to do this kind of work.
If I understand the ldd command correctly it will show all the required library files needed by a program. If this is correct then the library files needed by pine are
I am not answering the question about the libraries, but I was wondering why do you don't try with the pre-compiled pine package ? Just use yum to do that: "yum install pine". In my system, yum detected a missing lib "libc-client2004g" and it was happy to install it too.
May be you just need to enable/install the "livna" repository. Just create the file "/etc/yum.repos.d/livna.repo" with the following contents:
similar to pbone.net is www.rpmfind.net. You can search for a file name like libsasl.so.7.
Yeah, not a problem using rpmfind but my question is - Is there a way to find all the needed files in one library file? I guess I am wondering if the creator would pick an existing library with all the needed files included or if he would have to pick and choose each individual file? I simply dont know enough about how library files are created to understand this.
No, I'm afraid there is not a easy way to deal with this. You really need to go through the try and fix process. This is even true to a package in rpm format. Before package managers like yum, you still have to try install a package and if any dependencies is missing you need to resolve it by yourself.
Packages installed from source, like you are trying to compile, are even more difficult to get it to work. You really need to know from the developer what are the dependencies his software has. That is why, btw, advanced package managers come to the light.
I would still like an answer to my original question concerning libraries if anyone can clue me in.
Not all of the libraries linked to the app are required. For example, I run Mozilla Firefox 18.104.22.168 on my Linux system at home and when I run ldd against firefox-bin, I get messages about libraries not being found yet Firefox runs just fine.
The only libraries you need to worry about are ones identified when you try to run the app which prevent the app from starting. Once those are identified, install them and try again. This can be an iterative process.