#5533 closed defect (fixed)
BUG: boost-1.33.0
Reported by: | matt@… | Owned by: | michel.salim@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.0 |
Keywords: | Cc: | ||
Port: | boost |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
Boost-1.33.0
It seems that boost needs to be compiled/linked differently. If I link a simple program (just empty main function) with "gcc ... -lboost_regex -L/opt/loca/lib", when I run the program I get the dyld error:
Library not loaded: libboost_regex-1_33.dylib Referenced from: /Users/matt/tmp/./linkboost Reason: image not found
Running with DYLD_LIBRARY_PATH=/opt/local/lib, the test program (and other proper programs) work fine.
It looks like there were some changes involving -install_name when boost was upgraded to 1.33.0, these might be the culprit?
Change History (7)
comment:1 Changed 19 years ago by matt@…
Owner: | changed from darwinports-bugs@… to michel.salim@… |
---|
comment:2 Changed 19 years ago by grahame@…
comment:3 Changed 19 years ago by michel.salim@…
dependson: | → 7221 |
---|
comment:4 Changed 19 years ago by michel.salim@…
Status: | new → assigned |
---|
Fixed in upcoming 1.33.1 Portfile, awaiting commit
comment:5 Changed 19 years ago by blb@…
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Update in bug 7221 committed, so per Michel, this should be fixed.
comment:6 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Milestone: | → Port Bugs |
Port: | boost added |
Note: See
TracTickets for help on using
tickets.
Heya, this script fixes the problem http://grahame.angrygoats.net/oneliners/fix-boost-library-names.sh