Here is the output of what you suggested. 

========================================================

$ lipo -info /opt/local/lib/libtiff.3.dylib /opt/local/lib/libpoppler.19.dylib
Architectures in the fat file: /opt/local/lib/libtiff.3.dylib are: x86_64 i386 
Non-fat file: /opt/local/lib/libpoppler.19.dylib is architecture: x86_64

========================================================

I resolved the problem by removing the DYLD_LIBRARY_PATH which MATLAB set for 
me! 

Thanks again. 



On Nov 29, 2011, at 2:50 PM, Ryan Schmidt wrote:

> 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:
> 
> https://trac.macports.org/wiki/Migration
> 
> 

_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

Reply via email to