>   find /sw/lib -name *.dylib | xargs otool -L | grep /usr/local \
> | grep : | cut -d: -f1 | xargs dpkg -S | sort | uniq

That died the first time I tried it because /sw/lib/libparpack.dylib was a
broken symbolic link to (the non-existent) arpack-ng/libparpack.dylib.  I
manually deleted that.  Then, the command finished, but returned nothing.

The find produces 363 lines of output, and xargs otool produces 1662 lines
of output, but the "grep /usr/local" output is empty because the string
"local" does not appear anywhere.  Shortening the search string to "/usr"
leaves 511 lines, but there are no colons.  I finally settled on: "find
/sw/lib -name '*.dylib' | xargs otool -L | grep /usr | perl -e
'while(<>){@l=split(" ",$_);print "$l[0]\n"}' | sort | uniq" to get the
list, which contains 13 files:

/usr/X11/lib/libGL.1.dylib
/usr/X11/lib/libX11.6.dylib
/usr/X11/lib/libXext.6.dylib
/usr/X11/lib/libXpm.4.dylib
/usr/X11/lib/libXrandr.2.dylib
/usr/X11/lib/libXrender.1.dylib
/usr/X11/lib/libXxf86vm.1.dylib
/usr/lib/libSystem.B.dylib
/usr/lib/libcrypto.0.9.8.dylib
/usr/lib/libobjc.A.dylib
/usr/lib/libssl.0.9.8.dylib
/usr/lib/libstdc++.6.dylib
/usr/lib/libz.1.dylib

but dpkg simply says "not found" for each of them.  I'm pretty sure dpkg
is working properly, because "dpkg -S dylib" produces 365 lines of output,
but "dpkg -S libGL" gives error "dpkg: *libGL* not found." and produces no
output.

    Howard



------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Fink-beginners mailing list
Fink-beginners@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.beginners
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to