libtiff error: problem running latex after fresh install of texlive

Ryan Schmidt ryandesign at
Tue Nov 29 11:50:27 PST 2011

On Nov 28, 2011, at 22:57, Sujit Nair wrote:

> I just installed texlive and am getting the following error when I run latex. I have Mac OSX Lion with MacPorts 2.0.3. Has anybody else had this problem? None of the following works for me currently: latex, dvipdf, ps2pdf. 
> ========================================================================
> $ latex test.tex
> dyld: Library not loaded: /opt/local/lib/libtiff.3.dylib
>  Referenced from: /opt/local/lib/libpoppler.19.dylib
>  Reason: Incompatible library version: libpoppler.19.dylib requires version 13.0.0 or later, but libtiff.3.dylib provides version 11.0.0
> Trace/BPT trap: 5

Sounds like your /opt/local/lib/libtiff.3.dylib is not of the same architecture as libpoppler.19.dylib, therefore it tries to find other copies of libtiff.3.dylib on your system and finds /usr/lib/libtiff.3.dylib which is of the right architecture, but is too old. Let's confirm that by looking at the architectures of the two libraries. Run:

lipo -info /opt/local/lib/libtiff.3.dylib /opt/local/lib/libpoppler.19.dylib

I suspect you either upgraded this machine to Lion from Leopard or earlier, or used Migration Assistant to migrate to this Lion machine from a Mac with 32-bit ports, and did not reinstall your ports since then; you probably need to follow the migration steps:

More information about the macports-users mailing list