Generic
How can I tell what libs a certain binary requires?
FREESCO supports ELF (Executable and Linking Format) binaries. This means a binary may require certain loadable libraries on the target system to run. This can be compared to the windoze DLL system, only better ;)
But how can you tell what libraries a certain executable requires? The command to get this information is called ldd and unfortunally it's not standard available on FREESCO, so you either have to get the command from a zipslack 3.9, get the attachement from this FAQ, or install the utils_1.1_dingetje package (FREESCO 03x).
Sample run:<?php
[Linux] ldd xterm
libXft.so.2 => not found
libfontconfig.so.1 => not found
libfreetype.so.6 => /lib/libfreetype.so.6 (0x40009000)
libexpat.so.0 => not found
libXrender.so.1 => not found
libXaw.so.7 => not found
libXmu.so.6 => not found
libXt.so.6 => not found
libSM.so.6 => not found
libICE.so.6 => not found
libXpm.so.4 => not found
libXext.so.6 => not found
libX11.so.6 => not found
libtermcap.so.2 => /lib/libtermcap.so.2 (0x4003f000)
libc.so.5 => /lib/libc.so.5 (0x40042000)
?>
This output tells me that a sh*tload of X libs is missing on my system, so xterm is not going to run.
attached files: ldd
Last update: 2005-07-02 00:38
Author: dingetje
Revision: 1.0
Print this record
Send to a friend
Show this as PDF file
Export as XML-File
You cannot comment on this entry