Linux - NewbieThis 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
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.
Hi there.
I find it strange that the dependencies are not on the app's page. Perhaps they will be listed in the files INSTALL or README. I'm not so sure about how to figure out what dependencies a source package needs without them being listed somewhere. (Appart from actually looking in the source )
But I know how to find out what dependecies are missing for a binary file; just use ldd.
For example, lets find out what 'ls' depends on.
cd /bin/
ldd ls
librt.so.1 => /lib/librt.so.1 (0x40026000)
libc.so.6 => /lib/libc.so.6 (0x40038000)
libpthread.so.0 => /lib/libpthread.so.0 (0x4015b000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
One possible research location is http://rpmfind.net . Inquire on the rpm package, if it's an rpm, and select the description (not the download) link for the distro that's closest to yours. The description link has a "requires" list and a "provides" list.
If it's an rpm, you can also use the "--test" option to show what dependencies may not be satified. There are also other ways of inquiring with the rpm app to find out lots of info about the specific rpm package that you are looking at.
ok... Lets say I use ldd and ls requires '/lib/libpthread.so.0' and I don't have it -> How do I find this on the net to install (I have this of course but its an example)
Also - about RPMs - I haven't yet used one (Haven't gotten to it, I have downloaded everything as sources and compiled myself (most don't offer SRPMs) - I have Slackware and downloaded anything that looks professional and small =) (I got a dial-up connection... no KDE, GNOME, etc...)
When I compile certain apps, they complain that the Libs exist, but it can't test (QT Libs) - How do you test to see what version you have (other than a dir name))?
A note: I guess I could see if certain packages exist as RPMs and use RPM find to see what it depends on - but what about those that don't exist as RPMs or RPMFind doesn't list dependancies (Have seen one of these...)
Distribution: slackware 1.0/2.0 old hardware, Caldera Open Linux 6.0?
Posts: 8
Rep:
okay, give this discussion the version of Linux you are using and if you have glibc or an older version of libc, if you know it.
Some of the Apps might be for an older version or newer version of linux that requires different library dependencys(sp?).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.