[MacPorts] #21405: Wrong Shared Library Name In podofo binaries

MacPorts noreply at macports.org
Tue Sep 15 12:32:42 PDT 2009


#21405: Wrong Shared Library Name In podofo binaries
----------------------------------+-----------------------------------------
 Reporter:  gerdes@…              |       Owner:  devans@…           
     Type:  defect                |      Status:  new                
 Priority:  Normal                |   Milestone:                     
Component:  ports                 |     Version:  1.8.0              
 Keywords:                        |        Port:  podofo             
----------------------------------+-----------------------------------------
Changes (by macsforever2000@…):

  * owner:  macports-tickets@… => devans@…


Old description:

> podofo @0.7.0, Revision 1 binaries reference shared libraries in
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_podofo/work/podofo-0.7.0/src/
>
> the libraries are not actually in this directory so the binaries fail.
>
> A quick fix can be performed by running the following shell (sh) code
> (may need to run as root).
>

>
> for x in /opt/local/bin/podofo*; do install_name_tool $x -change
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_podofo/work/podofo-0.7.0/src/libpodofo.0.7.0.dylib
> /opt/local/var/macports/software/podofo/0.7.0_1/opt/local/lib/libpodofo.0.7.0.dylib;
> done

New description:

 podofo @0.7.0, Revision 1 binaries reference shared libraries in
 {{{
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_podofo/work/podofo-0.7.0/src/
 }}}

 the libraries are not actually in this directory so the binaries fail.

 A quick fix can be performed by running the following shell (sh) code (may
 need to run as root).


 {{{
 for x in /opt/local/bin/podofo*; do install_name_tool $x -change
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_podofo/work/podofo-0.7.0/src/libpodofo.0.7.0.dylib
 /opt/local/var/macports/software/podofo/0.7.0_1/opt/local/lib/libpodofo.0.7.0.dylib;
 done
 }}}

--

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


More information about the macports-tickets mailing list