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 have basically two questions:
1.For distros like slackware that lack dependency resolution is there a program that will tell me if I have a certain lib installed? Basically is there a version of which that works for libraries?
2. What do all those cryptic compile time error messages mean?
Any other general compiling tips/common issues would be much appreciated.
So, you can see that I have expat, pXau, fontconfig, Xrender, freetype, etc... all installed. But I don't know what is libz. So I do a Google search: http://www.google.com/search?q=libz - and get to know that it is zlib.
As for the compile errors, normally the last few lines will tell you the problem - whether it's that it's missing a dependency or something else. I would say that your best bet is to post up the last 10 lines here on LQ and we can help you decipher them. It does get easier, honest
1.For distros like slackware that lack dependency resolution is there a program that will tell me if I have a certain lib installed? Basically is there a version of which that works for libraries?
locate, find, and ls all work for libraries.
Quote:
Originally Posted by Ryzol
2. What do all those cryptic compile time error messages mean?
Which ones? All is pretty all encompassing and vague. But if you have something in particular, post the last 10-20 lines of the failed build.
Last edited by weibullguy; 04-12-2008 at 07:23 PM.
Could someone explain what the output of ldd means? The man page is lacking. I'm guessing it means libname.version => path (location in memory). So I ran ldd on /bin/ls got some output. Then did slocate on a library it listed, linux-gate.so.1 to be exact and it did not find anything. What gives? I have a working ls, how do I not have all the libraries it needs?
With respect to compile to messages, I don't have any currently but I probably will have some soon. I just remember when I first tried to compile a program I got a very cryptic message and was wondering if there's a site or something that lists/explains gcc compile time error messages.
You don't even need to run ldd, if you try to run the program in question, it'll output what you're missing if it can't find it. Usually during the compile process the configure script will tell you before hand most of the libraries you need to compile a program. As for error messages, post them on here and we'll help you out. They are often cryptic, but they always mean something.
So I was following slackwarebasics about compiling the kernel. Anyways quick question, I did cd to path of kernel source. Then did make menuconfig and selected what I thought was appropriate. When I was done with that I chose save this configuration and named it "firstkernel.config". I then did make. Did make use this new configuration or the default one? If it didn't how do I tell it which configuration to use?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.