[MacPorts] #5533: BUG: boost-1.33.0

MacPorts noreply at macports.org
Sun Sep 21 16:53:08 PDT 2008


#5533: BUG: boost-1.33.0
------------------------------+---------------------------------------------
  Reporter:  matt at ucc.asn.au  |       Owner:  michel.salim at gmail.com
      Type:  defect           |      Status:  closed                
  Priority:  Normal           |   Milestone:  Port Bugs             
 Component:  ports            |     Version:  1.0                   
Resolution:  fixed            |    Keywords:                        
      Port:  boost            |  
------------------------------+---------------------------------------------
Changes (by ryandesign at macports.org):

  * port:  => boost
  * milestone:  => Port Bugs


Old description:

> 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?

New description:

 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?

--

-- 
Ticket URL: <http://trac.macports.org/ticket/5533#comment:6>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list