1.7.0 beta & rc1: libcurl errors

Joshua Root jmr at macports.org
Mon Dec 8 14:56:57 PST 2008


Ryan Schmidt wrote:
> On Dec 8, 2008, at 15:41, Bryan Blackburn wrote:
> 
>> On Mon, Dec 08, 2008 at 03:25:19PM -0500, Jay Levitt said:
>>
>>> I tried to rebuild the port, but the port command had the same problem:
>>>
>>> sudo port clean git
>>> couldn't load file
>>> "/opt/local/share/macports/Tcl/pextlib1.0/Pextlib.dylib":
>>> dlopen(/opt/local/share/macports/Tcl/pextlib1.0/Pextlib.dylib, 10):
>>> Library not loaded: /opt/local/lib/libcurl.4.dylib
>>>   Referenced from:
>>> /opt/local/share/macports/Tcl/pextlib1.0/Pextlib.dylib
>>>   Reason: Incompatible library version: Pextlib.dylib requires version
>>> 6.0.0 or later, but libcurl.4.dylib provides version 5.0.0
>>
>> This could be an issue with selfupdate as it should be linking Pextlib
>> against the system libcurl, not one found in MacPorts.  Will have to look
>> into this.
> 
> I remember when building MacPorts manually, it will link with its own
> ports, which isn't so great IMHO.

Yet when I build base, configure finds /usr/bin/curl-config even though
I have the curl port installed (and /opt/local/bin is first in my PATH).
Under what circumstances will it find the one in /opt/local?

- Josh


More information about the macports-users mailing list