Am 05.04.2013 um 23:31 schrieb Sean Lake:
> The only mention of libpng12 is in libcairo, under x11.
And which libraries is matplotlib using? Does it have plug-ins?
dpkg -L matplotlib-py27
should give you a list of all files in the package. Do some file names end in
.so? Which are the dylibs in the package, which the binaries?
With "otool -L" you can check the dylibs and the binaries which dylibs they
need.
Do have in your shell's environment a variable set that contains DYLIB in its
name?
env | grep DYLIB
should reveal this.
Among the X11 binaries I have only /usr/X11/bin/xcursorgen that uses
/usr/X11/lib/libpng12.0.dylib (compatibility version 42.0.0, current version
42.0.0).
Among the Fink binaries I have /sw/bin/dillo, /sw/bin/mencoder,
/sw/bin/mplayer, /sw/bin/pamrgbatopng, /sw/bin/pamrgbatopng, /sw/bin/pngtopnm,
/sw/bin/pnmtopng that use libpng12. Libcairo (Fink's one) is used by
/sw/bin/gkrellm(-2.3.2), /sw/bin/pango-view, /sw/bin/vim.
With this you can check binaries if they use libpng or libcairo. First (t)csh:
foreach Bin ( `ls -l /usr/X11/bin/* /usr/X11/bin/* | egrep -e '^-' |
awk '{print $NF}'` )
otool -L $Bin | egrep 'png|cairo' && echo $Bin
end
and now (ba)sh:
for Bin in `ls -l /sw/bin/* /usr/X11/bin/* | egrep -e '^-' | awk
'{print $NF}'` ; do
otool -L $Bin | egrep 'png|cairo' && echo $Bin
done
Again you can adjust "png" to "libpng12" and the paths in Fink and X11. To grep
for exactly X11's libcairo you should change "cairo" to "X11/lib/libcairo" or
whatever the X11 string element in the library's path name is.
--
Greetings
Pete
To be is to do.
– I. Kant
To do is to be.
– A. Sartre
Yabba-Dabba-Doo!
– F. Flintstone
------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire
the most talented Cisco Certified professionals. Visit the
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
Fink-users mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users