Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#45166 closed defect (invalid)

source-highlight 3.1.7 install fails because boost references libicuuc.51.dylib

Reported by: leingang Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.1
Keywords: Cc:
Port: boost

Description

In the course of a port upgrade outdated, upgrading source-highlight failed for me. The first sign of trouble in the log file is here:

:info:build ../src/source-highlight --data-dir ../src/ -s java -f html  --style-file ../src/default.style  < ./Hello.java > Hello5.html --title "Wooo... this is quite dark ;-D" --css "mono-alt.css"
:info:build dyld: Library not loaded: /opt/local/lib/libicuuc.51.dylib
:info:build   Referenced from: /opt/local/lib/libboost_regex-mt.dylib
:info:build   Reason: image not found
:info:build dyld: Library not loaded: /opt/local/lib/libicuuc.51.dylib
:info:build   Referenced from: /opt/local/lib/libboost_regex-mt.dylib
:info:build   Reason: image not found
:info:build dyld: Library not loaded: /opt/local/lib/libicuuc.51.dylib
:info:build   Refdyld: Library not loaded: /opt/local/lib/libicuuc.51.dylib
:info:build   Referenced from: /opt/local/lib/liberenced from: /opt/local/lib/libboost_regex-mt.dylib
:info:build   Reason: iboost_regex-mt.dylib
:info:build   Reason: image not found
:info:build mage not found
:info:build /bin/sh: line 1: 70692 Trace/BPT trap: 5       ../src/source-highlight --data-dir ../src/ -s java -f html --style-file ../src/default.style --title "Wooo... this is quite dark ;-D" --css "mono-alt.css" < ./Hello.java > Hello5.html
:info:build make[2]: *** [Hello5.html] Error 133

While poking around I discovered that libicuuc.51.dylib did not exist in /opt/local/lib, but locate thought it did. I rebuilt the locate database, then ran port clean and port install, but the problem persists.

Change History (3)

comment:1 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Your boost port is referencing libraries from version 51 of icu. How is that possible? The current version of icu is 53. Please run "sudo port selfupdate" to make sure you have the latest port definitions, then run "sudo port upgrade boost". If boost does not upgrade, then I suspect you somehow overwrote your MacPorts-installed boost libraries with other copies of those libraries built earlier, perhaps due to a badly-made third-party installer; in that case, try running "sudo port rev-upgrade" to fix any problems.

comment:2 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Port: boost added
Resolution: invalid
Status: newclosed
Summary: source-highlight 3.1.7 install fails - libicuuc.51.dylib not loadedsource-highlight 3.1.7 install fails because boost references libicuuc.51.dylib

comment:3 Changed 10 years ago by leingang

Thanks for the pointer to boost. I had a later version of that port that was inactive. Activating the most recent boost port took care of the problem.

Last edited 10 years ago by leingang (previous) (diff)
Note: See TracTickets for help on using tickets.