Incompatible library version

Michel Perez Michel.Perez at insa-lyon.fr
Thu Oct 8 00:21:43 PDT 2015


Jeremy,
Indeed, the DYLD_LIBRARY_PATH is set… by MATLAB !
mperez$ set | grep DYLD
DYLD_LIBRARY_PATH=/Applications/MATLAB_R2015a.app/bin/maci64:/Applications/MATLAB_R2015a.app/sys/os/maci64:/usr/local/qwt-6.0.1/lib:
Will I have to choose between matlab and macport?
What should I do?
Michel
> On 08 Oct 2015, at 07:45, Jeremy Sequoia <jeremyhu at apple.com> wrote:
> 
> Yep, it looks like you probably have DYLD_INSERT_LIBRARIES or DYLD_LIBRARY_PATH set.  Don't do that ;).  
> 
> To confirm, run 'set | grep DYLD'
> 
> Check your shell init scripts.
> 
> Sent from my iPhone...
> 
> On Oct 7, 2015, at 22:12, Michel Perez <Michel.Perez at insa-lyon.fr <mailto:Michel.Perez at insa-lyon.fr>> wrote:
> 
>> Thanks Jeremy for your reply
>> The output of otool command is:
>> 
>> mperez$ otool -L /opt/local/lib/libtiff.5.dylib
>> /opt/local/lib/libtiff.5.dylib:
>> 	/opt/local/lib/libtiff.5.dylib (compatibility version 8.0.0, current version 8.4.0)
>> 	/opt/local/lib/liblzma.5.dylib (compatibility version 8.0.0, current version 8.1.0)
>> 	/opt/local/lib/libjpeg.9.dylib (compatibility version 11.0.0, current version 11.0.0)
>> 	/opt/local/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.8)
>> 	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1213.0.0)
>> 
>> I do not know if I shot myself in the foot, but it hurts: not a single macport program works !
>> Thanks again,
>> Michel
>>> On 08 Oct 2015, at 01:28, Jeremy Huddleston Sequoia <jeremyhu at apple.com <mailto:jeremyhu at apple.com>> wrote:
>>> 
>>> It looks like you either have an outdated version of libtiff or are using DYLD_INSERT_LIBRARIES to shoot yourself in the foot.
>>> 
>>> What's the output of 'otool -L /opt/local/lib/libtiff.5.dylib'?
>>> 
>>> --Jeremy
>>> 
>>>> On Oct 7, 2015, at 07:06, Michel Perez <Michel.Perez at insa-lyon.fr <mailto:Michel.Perez at insa-lyon.fr>> wrote:
>>>> 
>>>> Hello,
>>>> 
>>>> I got the Incompatible library version error whatever the software I lauch.
>>>> I tried to reinstall macport but still get the following error:
>>>> 
>>>> dyld: Library not loaded: /opt/local/lib/libtiff.5.dylib
>>>>  Referenced from: /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/lib/libwx_osx_cocoau_xrc-3.0.dylib
>>>>  Reason: Incompatible library version: libwx_osx_cocoau_xrc-3.0.dylib requires version 8.0.0 or later, but libtiff.5.dylib provides version 6.0.0
>>>> Trace/BPT trap: 5
>>>> 
>>>> Thanks for your help
>>>> 
>>>> *********************************************
>>>> Michel Perez
>>>> Université de Lyon - INSA de Lyon
>>>> MATEIS - UMR CNRS 5510
>>>> 25 avenue Capelle
>>>> 69 621 Villeurbanne Cedex
>>>> Tel.: +33 4 72 43 80 63
>>>> Fax.: +33 4 72 43 85 39
>>>> Mel.: Michel.Perez at insa-lyon.fr <mailto:Michel.Perez at insa-lyon.fr>
>>>> Web: http://michel.perez.net.free.fr <http://michel.perez.net.free.fr/>
>>>> *********************************************
>>>> 
>>>> _______________________________________________
>>>> macports-users mailing list
>>>> macports-users at lists.macosforge.org <mailto:macports-users at lists.macosforge.org>
>>>> https://lists.macosforge.org/mailman/listinfo/macports-users <https://lists.macosforge.org/mailman/listinfo/macports-users>
>>> 
>> 
>> *********************************************
>> Michel Perez
>> Université de Lyon - INSA de Lyon
>> MATEIS - UMR CNRS 5510
>> 25 avenue Capelle
>> 69 621 Villeurbanne Cedex
>> Tel.: +33 4 72 43 80 63
>> Fax.: +33 4 72 43 85 39
>> Mel.: Michel.Perez at insa-lyon.fr <mailto:Michel.Perez at insa-lyon.fr>
>> Web: http://michel.perez.net.free.fr <http://michel.perez.net.free.fr/>
>> *********************************************
>> 

*********************************************
Michel Perez
Université de Lyon - INSA de Lyon
MATEIS - UMR CNRS 5510
25 avenue Capelle
69 621 Villeurbanne Cedex
Tel.: +33 4 72 43 80 63
Fax.: +33 4 72 43 85 39
Mel.: Michel.Perez at insa-lyon.fr
Web: http://michel.perez.net.free.fr
*********************************************

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-users/attachments/20151008/18141d45/attachment.html>


More information about the macports-users mailing list