[MacPorts] #59769: libcurl links with libssl 1.1 which is not there (was: Failure to install uhd (failed to configure))

MacPorts noreply at macports.org
Fri Nov 29 12:17:53 UTC 2019


#59769: libcurl links with libssl 1.1 which is not there
--------------------------+--------------------
  Reporter:  UncleBuck62  |      Owner:  (none)
      Type:  defect       |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.6.2
Resolution:               |   Keywords:
      Port:  cmake curl   |
--------------------------+--------------------
Changes (by ryandesign):

 * port:  cmake curl uhd => cmake curl


Comment:

 Usually I would say yes, file a new ticket, but in this case, please
 attach the gnuradio log here first so we can see if it has the same root
 cause, since what you have experienced so far probably isn't a bug in
 MacPorts but something strange going on with your specific MacPorts
 installation.

 We've already established that you have at least one file in the MacPorts
 prefix that MacPorts didn't put there (/opt/local/lib/libssl.dylib). Who
 knows how many other files are there that MacPorts didn't put there, and
 where they came from. (Sometimes badly-made third-party installers will
 put files in the MacPorts prefix -- sometimes even overwriting newer files
 MacPorts had already put there.)

 In fact /opt/local/lib/libssl.dylib ''should'' have been there, and it
 should have been provided by the MacPorts openssl port, along with the
 mentioned /opt/local/lib/libssl.1.1.dylib, since openssl is a dependency
 of curl, which is the port that provides /opt/local/lib/libcurl.4.dylib.
 How did this situation arise? Had you deliberately uninstalled openssl,
 ignoring the warnings MacPorts printed that that would break things?

 If you find more files in the MacPorts prefix that aren't provided by a
 port and that cause you problems, and you can't account for and remove
 them, it may be simplest to
 [https://guide.macports.org/#installing.macports.uninstalling uninstall
 MacPorts completely], including fully deleting /opt/local (after moving
 out any important data, config files, etc.), and then reinstalling
 MacPorts and the ports you want. That way you can be sure there aren't any
 files in there that shouldn't be there.

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


More information about the macports-tickets mailing list