[MacPorts] #57490: OpenSSL is not found but exists in port tree

MacPorts noreply at macports.org
Fri Nov 2 14:37:24 UTC 2018


#57490: OpenSSL is not found but exists in port tree
------------------------+--------------------
  Reporter:  NebulaFox  |      Owner:  (none)
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  base       |    Version:  2.5.4
Resolution:             |   Keywords:
      Port:             |
------------------------+--------------------

Comment (by NebulaFox):

 `sudo port -v sync` did not come back with any errors.

 Updating `/opt/local/etc/macports/sources.conf` change the last line:
 {{{
 rsync://rsync.macports.org/macports/release/tarballs/ports.tar [default]
 }}}

 and then `sudo port -v sync` and then `sudo port install openssl` gave me
 this error

 {{{
 #$ sudo port install openssl
 Error: Unable to determine location of a macOS SDK.
 Error: Unable to open port: can't read "configure.sdkroot": Unable to
 determine location of a macOS SDK.
 }}}

 Checking trac I found https://trac.macports.org/ticket/56619 which gave me
 the fix:

   Run into this problem with macOS 10.13.6 + Xcode 10.0. I was able to
 "fix" it by creating symlink in
 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/

   {{{sudo ln -s MacOSX.sdk MacOSX10.13.sdk}}}

 This has now fixed my issue. `openssl` is now found and `python37` is
 installed.
 Thanks everyone for the help.

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


More information about the macports-tickets mailing list