[MacPorts] #63366: python27: OpenSSL error causing hashlib to malfunction

MacPorts noreply at macports.org
Fri Aug 13 22:34:55 UTC 2021


#63366: python27: OpenSSL error causing hashlib to malfunction
-------------------------+-------------------------------------------------
  Reporter:  Lord-       |      Owner:  (none)
  Kamina                 |
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:  python27 py27 python2 openssl
      Port:  python27    |  hashlib sqlite3
-------------------------+-------------------------------------------------

Comment (by Lord-Kamina):

 Replying to [comment:2 kencu]:
 > I see in the PR that everything works properly for you now.
 >
 > Can we close this?

 No. My PR was the wrong fix to the issue that I'm reporting here, which is
 still a thing:

 For some reason (I suspect to do with changing deployment target), the
 `_sqlite3` module tries to link against the system version of
 `libsqlite3.dylib` instead of the one provided by macports, this causes
 the module to fail and the `_ssl` module to not be built at all.

 This can be fixed by passing the proper library dir under the macports
 folder when compiling python27.

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


More information about the macports-tickets mailing list