[MacPorts] #67230: curl @8.0.1_0+http2+ssl has issues with incompatibilities

MacPorts noreply at macports.org
Thu Apr 13 13:30:57 UTC 2023


#67230: curl @8.0.1_0+http2+ssl has issues with incompatibilities
----------------------+------------------------
  Reporter:  Gandoon  |      Owner:  ryandesign
      Type:  defect   |     Status:  assigned
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:  2.8.1
Resolution:           |   Keywords:
      Port:  curl     |
----------------------+------------------------

Comment (by Gandoon):

 Replying to [comment:3 ryandesign]:
 > The error message seems to be lying... it says your
 /opt/local/lib/libcurl.4.dylib provides version 10.0.0 but you've shown
 with `otool -L` that it actually provides version 13.0.0 as it should.
 >
 > Do you have the `DYLD_LIBRARY_PATH` environment variable set? If so,
 unset it.
 >
 > Do you have another libcurl installed somewhere, such as in
 /usr/local/lib? If so, maybe it is interfering.

 Aha, thank you very much.

 MATLAB once again causing problems. It requires a `DYLD_LIBRARY_PATH` and
 in one of those paths it duplicates a whole bunch of software. Removing
 the corresponding path from the environment solved the problem. So you
 were right, curl tried to use the MATLAB provided libcurl, which is 4-5
 years old. That is not the way I want it to work.

 {{{
 € otool -L
 /Applications/MATLAB/MATLAB_Runtime/v94/bin/maci64/libcurl.dylib
 /Applications/MATLAB/MATLAB_Runtime/v94/bin/maci64/libcurl.dylib:
         @rpath/libcurl.4.dylib (compatibility version 10.0.0, current
 version 10.0.0)
         @rpath/libssl.1.0.0.dylib (compatibility version 1.0.0, current
 version 1.0.0)
         @rpath/libcrypto.1.0.0.dylib (compatibility version 1.0.0, current
 version 1.0.0)
         /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
 version 1238.0.0)
 }}}

 Thank you, never thought about the `DYLD_LIBRARY_PATH` was set because of
 that MATLAB runtime installation. I will make sure I have a workaround for
 this.

-- 
Ticket URL: <https://trac.macports.org/ticket/67230#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list