[MacPorts] #58342: pyscopg2 2.8.1: library not found for -lssl

MacPorts noreply at macports.org
Sat May 18 18:58:00 UTC 2019


#58342: pyscopg2 2.8.1: library not found for -lssl
--------------------------+----------------------
  Reporter:  Tatsh        |      Owner:  nerdling
      Type:  defect       |     Status:  assigned
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:
Resolution:               |   Keywords:
      Port:  py-psycopg2  |
--------------------------+----------------------

Comment (by nerdling):

 Tatsh: which version of openssl port are you using? I don't have a means
 of replicating the problem: trace mode is happy on my end with openssl
 paths like ryandesign:
 {{{
 $ port contents openssl | grep libssl
   /opt/pspp/lib/libssl.1.0.0.dylib
   /opt/pspp/lib/libssl.a
   /opt/pspp/lib/libssl.dylib
   /opt/pspp/lib/pkgconfig/libssl.pc
 }}}

 Build succeeds for me under trace mode:
 {{{
 $ sudo port -Ntu install py37-psycopg2
 --->  Computing dependencies for py37-psycopg2
 --->  Fetching distfiles for py37-psycopg2
 --->  Verifying checksums for py37-psycopg2
 --->  Extracting py37-psycopg2
 --->  Applying patches to py37-psycopg2
 --->  Configuring py37-psycopg2
 --->  Building py37-psycopg2
 Warning: The following existing file was hidden from the build system by
 trace mode:
   /var/db/timezone/zoneinfo/America/New_York
 --->  Staging py37-psycopg2 into destroot
 Warning: The following existing files were hidden from the build system by
 trace mode:
   /var/db/timezone/zoneinfo/America/New_York
   /var/root/.CFUserTextEncoding
 --->  Installing py37-psycopg2 @2.8.2_0+postgresql11
 --->  Activating py37-psycopg2 @2.8.2_0+postgresql11
 --->  Cleaning py37-psycopg2
 --->  Scanning binaries for linking errors
 --->  No broken files found.
 --->  No broken ports found.
 }}}
 {{{
 $ port -v installed py37-psycopg2
 The following ports are currently installed:
   py37-psycopg2 @2.8.2_0+postgresql11 (active) platform='darwin 17'
 archs='x86_64' date='2019-05-18T14:45:27-0400'
 }}}

 RJVB/ryandesign: short of converting the dependency from path: to port: or
 a worksforme, any other suggestions?

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


More information about the macports-tickets mailing list