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.
Notices
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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 1.5.0.1 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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.