Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This 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.


  Search this Thread
Old 09-26-2003, 09:58 PM   #1
LQ Newbie
Registered: Sep 2003
Posts: 26

Rep: Reputation: 15
Another dependencies hell.

OK, I am running RH9 and no RPM's are involved, everything is being compiled. The problem: As I am trying to install Enlightenment and Eterm I am going thru the 9 billion dependencies each of them requires but even after successful installation, of those dependences, I am still getting errors that they are not installed. So what gives? I thought that they may not be installed in appropriate locations but how do I know where they are suppose to be? Any thoughts?
Old 09-27-2003, 02:01 AM   #2
Registered: Jul 2003
Distribution: Slackware
Posts: 390

Rep: Reputation: 53
You have to run ldconfig after installing any libraries/shared objects. Could that be your problem?

Old 09-27-2003, 11:36 AM   #3
LQ Newbie
Registered: Sep 2003
Posts: 26

Original Poster
Rep: Reputation: 15
You are absolutely right that this is the problem however I still donít know what this command does?
Old 09-27-2003, 12:13 PM   #4
Senior Member
Registered: Apr 2003
Location: Eire
Distribution: Slackware 12.0, OpenSuse 10.3
Posts: 1,120

Rep: Reputation: 45
I think a lot of programs but of course not all default to something like


if you don't specify an installation prefix

Check out


and add


to it if it ain't there, close the file then


May be only part of your problem, maybe not

Most of the time when I compile and install programs I

./configure --prefix=/usr

and 9 times out of ten no further messing about is required and if it can't find something I

./configure --help | more

to see if their's an option when configuring to specify a path to a particular lib that it needs
Old 09-27-2003, 01:12 PM   #5
Registered: Jul 2003
Distribution: Slackware
Posts: 390

Rep: Reputation: 53
Originally posted by nidua18
You are absolutely right that this is the problem however I still donít know what this command does?
One thing ldconfig does is create symbolic links (see "man ln" for information on symbolic links) that the run-time linker uses. For example, if you install, ldconfig creates a symbolic link that's used to actually dynamically link to. This allows you to upgrade to, run ldconfig to update the symbolic link, and none of the programs that link against it dynamically need to know about the change because they still link against the symbolic link

Another important thing it does is maintain a cache of the name and path (and probably more information I don't know about) of available dynamic libraries in /etc/ The advantage of this is the run-time linker doesn't have to do a time-consuming search through the filesystem looking for libraries to link with. The disadvantage is that it has to be kept up to date; fortunately, this is easy to do by simply running ldconfig.

ldconfig automatically looks in /lib and /usr/lib for libraries. Any other directories you want it to look, for example /usr/local/lib, must be added to /etc/ The people who put together distributions put the needed entries in /etc/, so unless you put your libraries in weird places, you shouldn't have to add entries into /etc/ If running ldconfig doesn't work, check /etc/ to make sure the directory where you put the libraries is there. Don't add directories into /etc/ that are writable by a non-root user.

You can check which dynamic libraries an executable needs and if the run-time linker know about them (i.e., the symbolic links are set up and there is an entry in /etc/ with the ldd (list dynamic dependencies) command. For example:

ldd $(which ls)

shows the dynamic dependencies of the ls command.

Maybe this will help,


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
go to hell.... A-dummy General 10 08-30-2006 09:06 PM
What the hell is this?! navarre9 Linux - General 5 04-27-2004 02:12 PM
what the hell is this?! navarre9 Mandriva 1 04-27-2004 09:11 AM
I recieve a failed dependencies error, but I have all required dependencies Laptop2250 Linux - Software 15 02-03-2004 08:58 PM
nu as hell son_oF_jeeves Linux - Newbie 5 12-18-2003 08:09 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:21 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration