Opened 13 years ago

Closed 13 years ago

#32311 closed defect (invalid)

Snow Leopard: dlopen(.../Pextlib.dylib, 10): Library not loaded: /usr/lib/libcurl.4.dylib

Reported by: t+macports@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 2.0.3
Keywords: Cc:
Port:

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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

Change History (2)

comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Component: portsbase
Description: modified (diff)

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.

comment:2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.