Re: Incompatible library version

2015-10-08 Thread Michel Perez
Indeed, cleaning .bash_profile file fixed this issue.
The bug has been reported to matlab.
Hat’s off to the macport-users team !
Michel Perez
> On 08 Oct 2015, at 10:36, Bachsau  wrote:
> 
> Michel Perez wrote on 08.10.2015 09:21:
>> Will I have to choose between matlab and macport?
> 
> Try removing it from the MATLAB script yourself and see if it still runs.
> ___
> macports-users mailing list
> macports-users@lists.macosforge.org
> 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.pe...@insa-lyon.fr
Web: http://michel.perez.net.free.fr
*

___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Incompatible library version

2015-10-08 Thread Michel Perez
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  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  <mailto:michel.pe...@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 >> <mailto:jerem...@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 >>> <mailto:michel.pe...@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.pe...@insa-lyon.fr <mailto:michel.pe...@insa-lyon.fr>
>>>> Web: http://michel.perez.net.free.fr <http://michel.perez.net.free.fr/>
>>>> *
>>>> 
>>>> ___
>>>> macports-users mailing list
>>>> macports-users@lists.macosforge.org 
>>>> <mailto:macports-users@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.pe...@insa-lyon.fr <mailto:michel.pe...@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.pe...@insa-lyon.fr
Web: http://michel.perez.net.free.fr
*

___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: Incompatible library version

2015-10-07 Thread Michel Perez
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  
> 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  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.pe...@insa-lyon.fr
>> Web: http://michel.perez.net.free.fr
>> *
>> 
>> _______
>> macports-users mailing list
>> macports-users@lists.macosforge.org
>> 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.pe...@insa-lyon.fr
Web: http://michel.perez.net.free.fr
*

___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Incompatible library version

2015-10-07 Thread Michel Perez
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.pe...@insa-lyon.fr
Web: http://michel.perez.net.free.fr
*

___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users