On Mar 5, 2014, at 20:33, Jean-François Caron wrote:

> On Mar 5, 2014, at 18:19 , Ryan Schmidt wrote:
> 
>> otool -L /opt/local/lib/lib{boost_regex-mt,source-highlight.4}.dylib
> 
> Here is the output of those commands:
> 
> port -v installed boost source-highlight
> The following ports are currently installed:
>  boost @1.55.0_1+clang32+no_single+no_static+python27 (active) 
> platform='darwin 13' archs='x86_64'
>  boost @1.55.0_1+no_single+no_static+python27 platform='darwin 13' 
> archs='x86_64'
>  source-highlight @3.1.7_0 (active) platform='darwin 11' archs='x86_64'
> 
> otool -L /opt/local/lib/lib{boost_regex-mt,source-highlight.4}.dylib
> /opt/local/lib/libboost_regex-mt.dylib:
>       /opt/local/lib/libboost_regex-mt.dylib (compatibility version 0.0.0, 
> current version 0.0.0)
>       /opt/local/lib/libicuuc.51.dylib (compatibility version 51.0.0, current 
> version 51.2.0)
>       /opt/local/lib/libicui18n.51.dylib (compatibility version 51.0.0, 
> current version 51.2.0)
>       /opt/local/lib/libicudata.51.dylib (compatibility version 51.0.0, 
> current version 51.2.0)
>       /usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 
> 120.0.0)
>       /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current 
> version 1197.1.1)
> /opt/local/lib/libsource-highlight.4.dylib:
>       /opt/local/lib/libsource-highlight.4.dylib (compatibility version 
> 5.0.0, current version 5.0.0)
>       /opt/local/lib/libboost_regex-mt.dylib (compatibility version 0.0.0, 
> current version 0.0.0)
>       /usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current 
> version 52.0.0)
>       /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current 
> version 159.1.0)

As you can see from the “otool -L” output, libsource-highlight.4.dylib links 
with libstdc++, not libc++ as it should for Mavericks or later. As you can see 
from the “port installed” output, the reason for this is that the port was 
built on Lion (darwin 11), not Mavericks (darwin 13). This suggests you did not 
follow the instructions in the Migration page for uninstalling and reinstalling 
all ports, which is necessary after upgrading the OS X version, so you should 
do that now.

https://trac.macports.org/wiki/Migration

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

Reply via email to