On 9/24/16 5:16 PM, Mike Wilkes wrote:
> I selfupdated fink to version 0.41.0, running OS X 10.10.5 (no upgrades to 
> either the OS or XQuartz). Tried to update packages texlive-base and texlive, 
> got following error messages:
>
>
> Error: `pdftex -ini  -jobname=xmltex -progname=xmltex *xmltex.ini' failed
>
> fmtutil: running `pdftex -ini   -jobname=pdfxmltex -progname=pdfxmltex 
> *pdfxmltex.ini' ...
>
> dyld: Library not loaded: /sw/lib/libpng16.16.dylib
>
>   Referenced from: /sw/bin/pdftex
>
>   Reason: Incompatible library version: pdftex requires version 41.0.0 or 
> later, but libpng16.16.dylib provides version 35.0.0

What is the output of

otool -L /sw/lib/libpng16.16.dylib

? The top line should show a compatibility version of 41.0.0.

$ otool -L /sw/lib/libpng16.16.dylib
/sw/lib/libpng16.16.dylib:
        /sw/lib/libpng16.16.dylib (compatibility version 41.0.0, current 
version 41.0.0)
        /usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 
1.2.5)
        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current 
version 1226.10.1)

If it reads '35.0.0', try 'fink list libpng16-shlibs' and make sure you 
have version 1.6.24 installed (should show 'i' at the beginning of the 
line).  If the lines begin with '(i)', then use 'fink install 
libpng16-shlibs' to update your libpng16-shlibs package.

If the otool -L line above does show '41.0.0', then you have a stray 
libpng16.16.dylib someplace in your system, and you or some program must 
be setting DYLD_LIBRARY_PATH to override the system search paths.

'locate libpng16.16.dylib' might point to your stray older 
libpng16.16.dylib that is overriding Fink's libpng16.16.dylib.

Hanspeter

------------------------------------------------------------------------------
_______________________________________________
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