[MacPorts] #32311: Snow Leopard: dlopen(.../Pextlib.dylib, 10): Library not loaded: /usr/lib/libcurl.4.dylib

MacPorts noreply at macports.org
Tue Nov 29 16:18:45 PST 2011


#32311: Snow Leopard: dlopen(.../Pextlib.dylib, 10): Library not loaded:
/usr/lib/libcurl.4.dylib
--------------------------------------+-------------------------------------
 Reporter:  t+macports@…              |       Owner:  macports-tickets@…                   
     Type:  defect                    |      Status:  new                                  
 Priority:  Normal                    |   Milestone:                                       
Component:  base                      |     Version:  2.0.3                                
 Keywords:                            |        Port:                                       
--------------------------------------+-------------------------------------
Changes (by ryandesign@…):

  * component:  ports => base


Old description:

> Tried installing MacPorts on Mac OS X 10.6.8 with Xcode 3.2.6, and all
> invocations of the "port" command fail in the same way:
>
> mini:/ tv$ /opt/local/bin/port search iperf
> dlopen(/opt/local/share/macports/Tcl/pextlib1.0/Pextlib.dylib, 10):
> Library not loaded: /usr/lib/libcurl.4.dylib
>   Referenced from: /opt/local/share/macports/Tcl/pextlib1.0/Pextlib.dylib
>   Reason: Incompatible library version: Pextlib.dylib requires version
> 7.0.0 or later, but libcurl.4.dylib provides version 6.0.0
>     while executing
> "load /opt/local/share/macports/Tcl/pextlib1.0/Pextlib.dylib"
>     ("package ifneeded Pextlib 1.0" script)
>     invoked from within
> "package require Pextlib 1.0"
>     (file "/opt/local/bin/port" line 39)
>
> I have tried rm -Rf /opt/local and re-installing to no effect. The
> MacPorts build used is:
>
> MD5 (MacPorts-2.0.3-10.6-SnowLeopard.dmg) =
> 31514d213008ec1c30f8dae71c4b3276
>
> The referenced .dylib files are:
>
> /usr/lib/libncurses.5.4.dylib
> /usr/lib/libiconv.2.dylib
> /usr/lib/libSystem.B.dylib
> /usr/lib/system/libmathCommon.A.dylib
> /usr/lib/libSystem.B.dylib
> /usr/lib/system/libmathCommon.A.dylib
> /usr/lib/libauto.dylib
> /usr/lib/libicucore.A.dylib
> /usr/lib/libobjc.A.dylib
> libz.1.2.3.dylib
> libstdc++.6.0.9.dylib
> /opt/local/share/macports/Tcl/macports1.0/MacPorts.dylib
> /opt/local/share/macports/Tcl/macports1.0/MacPorts.dylib
> /opt/local/share/macports/Tcl/pextlib1.0/Pextlib.dylib
> /opt/local/share/macports/Tcl/pextlib1.0/Pextlib.dylib
> /usr/lib/libcurl.4.dylib
> /opt/local/share/macports/Tcl/pextlib1.0/Pextlib.dylib
> /opt/local/share/macports/Tcl/pextlib1.0/Pextlib.dylib
>
> MD5 (/usr/lib/libcurl.4.dylib) = 49588fca545135a6b694406d4f27e231

New description:

 Tried installing MacPorts on Mac OS X 10.6.8 with Xcode 3.2.6, and all
 invocations of the "port" command fail in the same way:

 {{{
 mini:/ tv$ /opt/local/bin/port search iperf
 dlopen(/opt/local/share/macports/Tcl/pextlib1.0/Pextlib.dylib, 10):
 Library not loaded: /usr/lib/libcurl.4.dylib
   Referenced from: /opt/local/share/macports/Tcl/pextlib1.0/Pextlib.dylib
   Reason: Incompatible library version: Pextlib.dylib requires version
 7.0.0 or later, but libcurl.4.dylib provides version 6.0.0
     while executing
 "load /opt/local/share/macports/Tcl/pextlib1.0/Pextlib.dylib"
     ("package ifneeded Pextlib 1.0" script)
     invoked from within
 "package require Pextlib 1.0"
     (file "/opt/local/bin/port" line 39)
 }}}

 I have tried rm -Rf /opt/local and re-installing to no effect. The
 MacPorts build used is:

 MD5 (MacPorts-2.0.3-10.6-SnowLeopard.dmg) =
 31514d213008ec1c30f8dae71c4b3276

 The referenced .dylib files are:

 {{{
 /usr/lib/libncurses.5.4.dylib
 /usr/lib/libiconv.2.dylib
 /usr/lib/libSystem.B.dylib
 /usr/lib/system/libmathCommon.A.dylib
 /usr/lib/libSystem.B.dylib
 /usr/lib/system/libmathCommon.A.dylib
 /usr/lib/libauto.dylib
 /usr/lib/libicucore.A.dylib
 /usr/lib/libobjc.A.dylib
 libz.1.2.3.dylib
 libstdc++.6.0.9.dylib
 /opt/local/share/macports/Tcl/macports1.0/MacPorts.dylib
 /opt/local/share/macports/Tcl/macports1.0/MacPorts.dylib
 /opt/local/share/macports/Tcl/pextlib1.0/Pextlib.dylib
 /opt/local/share/macports/Tcl/pextlib1.0/Pextlib.dylib
 /usr/lib/libcurl.4.dylib
 /opt/local/share/macports/Tcl/pextlib1.0/Pextlib.dylib
 /opt/local/share/macports/Tcl/pextlib1.0/Pextlib.dylib

 MD5 (/usr/lib/libcurl.4.dylib) = 49588fca545135a6b694406d4f27e231
 }}}

--

Comment:

 I don't see how that's possible. That should only happen if you had tried
 to install MacPorts-2.0.3-10.7-Lion.dmg on OS X Snow Leopard. I have just
 downloaded MacPorts-2.0.3-10.6-SnowLeopard.dmg and verified that its
 Pextlib.dylib links with libcurl.4.dylib compatibility version 6.0.0
 current version 6.1.0, as it should, not 7.0.0 as you're showing.

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


More information about the macports-tickets mailing list