LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   library dependencies (https://www.linuxquestions.org/questions/linux-software-2/library-dependencies-304549/)

bipins1979 03-21-2005 11:42 PM

library dependencies
 
:?: What are the ways to find library dependencies in redhat ?

kryptonite0110 03-21-2005 11:48 PM

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)

Engmar 03-21-2005 11:50 PM

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.


All times are GMT -5. The time now is 01:42 AM.