LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 03-21-2005, 10:42 PM   #1
bipins1979
LQ Newbie
 
Registered: Jul 2004
Location: cochin
Distribution: redhat
Posts: 11

Rep: Reputation: 0
Question library dependencies


:?: What are the ways to find library dependencies in redhat ?
 
Old 03-21-2005, 10:48 PM   #2
kryptonite0110
Member
 
Registered: Mar 2005
Posts: 59

Rep: Reputation: 15
i don't fully know what you mean, for already installed packages?
if its for already installed programs, run ldd file, for example
ldd /bin/ls prints:
librt.so.1 => /lib/librt.so.1 (0x4002c000)
libc.so.6 => /lib/libc.so.6 (0x4003e000)
libpthread.so.0 => /lib/libpthread.so.0 (0x4016d000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
 
Old 03-21-2005, 10:50 PM   #3
Engmar
Member
 
Registered: Oct 2003
Location: The Forest
Distribution: Ubuntu, LFS, DSL
Posts: 127

Rep: Reputation: 16
RPM will often give you a good idea what is missing, when you try to install a package. If you install YUM or apt then these packages will also give you detailed reports (most of the time.) You can also go to the package's project page and read their documentation. You can then search for that library on your system. I prefer applications such as apt.

If you are installing from source,, then documentation is your only real choice - or compiler errors.

Last edited by Engmar; 03-21-2005 at 10:51 PM.
 
  


Reply


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
Command to check library dependencies daihard Linux - Software 6 12-04-2014 10:26 PM
xscreensaver install trouble: library dependencies marquitico Linux - Newbie 4 08-26-2005 08:28 PM
complicated library dependencies mickepe Linux - Newbie 2 08-05-2005 04:43 AM
howto compile bin with my library using all-static and shared linked standart library stpg Programming 4 06-29-2004 04:20 AM
I recieve a failed dependencies error, but I have all required dependencies Laptop2250 Linux - Software 15 02-03-2004 07:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:20 PM.

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