[MacPorts] #27744: wxWidgets-devel lib has incorrect install name

MacPorts noreply at macports.org
Mon Feb 28 18:22:35 PST 2011


#27744: wxWidgets-devel lib has incorrect install name
-----------------------------------------+----------------------------------
 Reporter:  singingwolfboy@…             |       Owner:  jwa@…           
     Type:  defect                       |      Status:  new             
 Priority:  Normal                       |   Milestone:                  
Component:  ports                        |     Version:  1.9.2           
 Keywords:                               |        Port:  wxWidgets-devel 
-----------------------------------------+----------------------------------

Comment(by macports@…):

 Okay so here's a script that should fix either variant (monolithic or
 nonmonolithic). This is similar to the one I posted before but now fixes
 links between libs properly. Again, just a workaround, not a solution for
 the actual port (sorry, not really my expertise!)

 Should be run using sudo and in in the /opt/local/lib/wx-devel/ directory.
 {{{
 #!/bin/sh
 OLD_DIR="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_graphics_wxWidgets-
 devel/work/wxWidgets-2.9.1/build/lib"

 for i in *.0.0.dylib
 do
     for j in *.0.0.dylib
     do
         install_name_tool -change "$OLD_DIR/$j" "$PWD/$j" "$i"
     done
 done

 }}}

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


More information about the macports-tickets mailing list