On Mar 4, 2014, at 18:05, Jean-François Caron wrote: > Hi, I finally caved in and upgraded to 10.9 from 10.7 in order to get > reasonable C++11 support. One of the not-unexpected side-effects is random > other problems coming up because of it. > > I have the environment variables LESS and LESSOPEN set for less to use > source-highlight (e.g. > http://superuser.com/questions/71588/how-to-syntax-highlight-via-less). With > the upgrade, now I get this error whenever I use less: > > dyld: Symbol not found: > __ZN5boost13match_resultsIN9__gnu_cxx17__normal_iteratorIPKcSsEESaINS_9sub_matchIS5_EEEE12maybe_assignERKS9_ > Referenced from: /opt/local/lib/libsource-highlight.4.dylib > Expected in: /opt/local/lib/libboost_regex-mt.dylib > in /opt/local/lib/libsource-highlight.4.dylib > /opt/local/bin/src-hilite-lesspipe.sh: line 4: 15153 Trace/BPT trap: 5 > source-highlight --failsafe --infer-lang -f esc --style-file=esc.style -i > "$source" > > I did rebuild all my ports after upgrading, and all the other ones that I > tested work. Is this because source-highlight is a GNU (thus libstcxx) > program and 10.9 uses libcxx? Or some other problem?
It works fine for me on Mavericks. I do believe the error occurred because boost and source-highlight were not both compiled with clang and thus libc++ on your system. If you really did uninstall and reinstall all ports, as per the wiki Migration page, then the only reason that should happen is if you requested that, by overriding configure.compiler. Did you? _______________________________________________ macports-users mailing list [email protected] https://lists.macosforge.org/mailman/listinfo/macports-users
