#48780: cmake @3.3.1_0 requires newer cUrl version and crash --------------------------+-------------------------------- Reporter: alexandre@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: cmake | --------------------------+-------------------------------- Comment (by alexandre@…): Thanks for the quick reply, [[BR]] [[BR]] I do have latest curl from ports,[[BR]] /opt/local/lib/libcurl.4.dylib [[BR]] which is indeed 9.0.0 (verified by otool)[[BR]] [[BR]] That was very confusing but I've figured out what happened here:[[BR]] some other software has set up:[[BR]] export DYLD_LIBRARY_PATH=/some/other/path[[BR]] pointing to a directory with libcurl 7.42 (8.0.0)[[BR]] so when I was running cmake it was actually loading libcurl from that directory, however, the most confusing thing is that the error message was stating it was trying to load libcurl from /opt/local/lib/libcurl.4.dylib [[BR]] {{{ dyld: Library not loaded: /opt/local/lib/libcurl.4.dylib Referenced from: /opt/local/bin/curl Reason: Incompatible library version: curl requires version 9.0.0 or later, but libcurl.4.dylib provides version 8.0.0 }}} Sorry for have filed this ticket anyway, Regards -- Ticket URL: <https://trac.macports.org/ticket/48780#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X