[puppy-devel] library usage and known missing library bugs

On Tue, 7 Feb 2006, "Fran Boon" <flavour@xxxxxxxxxxxxx> said:

> Any known bugs other than the OpenSSL headers & libexif?

I responded with one I knew of, curl.  

> If anyone has a list of dependencies for each of the libs, that would
> be great...if not, we should probably start 1...

Modifying my one-liner for this a little leads to 
(a) a way to get the info as one line per program:

  for i in `find / -type f -perm +1 |grep -v ^/\.usr \
    |xargs file |grep executable |grep Intel |grep dynamic \
    |cut -d : -f1 ` ; do \
    echo $i: `ldd $i |sed -e 's%^.*=> %%' -e 's% (.*$%%'` ; done

and so (b) a list of binaries that have missing libs:

  for i in `find / -type f -perm +1 |grep -v ^/\.usr \
    |xargs file |grep executable |grep Intel |grep dynamic \
    |cut -d : -f1 ` ; do echo $i: `ldd $i |grep "not found"` ; \
    done |grep "not found"

displays a list of programs and the libs they are missing.  

On this system (Puppy 1.0.7, on hard disk) it outputs:

/usr/bin/curl: libidn.so.11 => not found libidn.so.11 => not found
/usr/bin/objdump: libopcodes-2.15.92.0.2.so => not found
/usr/bin/orbit-event-server: libORBit.so.0 => not found libIIOP.so.0 =>
not found libORBitutil.so.0 => not found
/usr/bin/orbit-idl: libIDL-0.6.so.0 => not found
/usr/bin/orbit-name-server: libORBit.so.0 => not found libIIOP.so.0 =>
not found libORBitutil.so.0 => not found libORBitCosNaming.so.0 => not
found
/usr/bin/pkill: libproc-3.2.3.so => not found
/usr/bin/pmap: libproc-3.2.3.so => not found
/usr/bin/rpmgraph: librpm-4.2.so => not found librpmdb-4.2.so => not
found librpmio-4.2.so => not found libbz2.so.1.0 => not found
/usr/bin/skill: libproc-3.2.3.so => not found
/usr/bin/uuidgen: libuuid.so.1 => not found
/usr/bin/vmstat: libproc-3.2.3.so => not found
/usr/lib/gettext/gnu.gettext.DumpResource: libgcj.so.4 => not found
/usr/lib/gettext/gnu.gettext.GetURL: libgcj.so.4 => not found

So I suppose we can add each of those to the list of "known bugs".

Jonathan
-- 
  Jonathan Marsden
  jmarsden@xxxxxxxxxxx

-- 
http://www.fastmail.fm - Send your email first class


Other related posts: