[MacPorts] #58342: pyscopg2 2.8.1: library not found for -lssl
MacPorts
noreply at macports.org
Sun Apr 14 14:29:23 UTC 2019
#58342: pyscopg2 2.8.1: library not found for -lssl
--------------------+---------------------------
Reporter: Tatsh | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port: py37-psycopg2
--------------------+---------------------------
Getting this strange error at linking stage, despite having OpenSSL
installed.
{{{
:info:build /usr/bin/clang -bundle -undefined dynamic_lookup
-L/opt/local/lib -Wl,-headerpad_max_install_names
-Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
-arch x86_64 -arch x86_64
build/temp.macosx-10.14-x86_64-3.7/psycopg/psycopgmodule.o
build/temp.macosx-10.14-x86_64-3.7/psycopg/green.o
build/temp.macosx-10.14-x86_64-3.7/psycopg/pqpath.o
build/temp.macosx-10.14-x86_64-3.7/psycopg/utils.o
build/temp.macosx-10.14-x86_64-3.7/psycopg/bytes_format.o
build/temp.macosx-10.14-x86_64-3.7/psycopg/libpq_support.o
build/temp.macosx-10.14-x86_64-3.7/psycopg/win32_support.o
build/temp.macosx-10.14-x86_64-3.7/psycopg/solaris_support.o
build/temp.macosx-10.14-x86_64-3.7/psycopg/connection_int.o
build/temp.macosx-10.14-x86_64-3.7/psycopg/connection_type.o
build/temp.macosx-10.14-x86_64-3.7/psycopg/cursor_int.o
build/temp.macosx-10.14-x86_64-3.7/psycopg/cursor_type.o
build/temp.macosx-10.14-x86_64-3.7/psycopg/column_type.o
build/temp.macosx-10.14-x86_64-3.7/psycopg/replication_connection_type.o
build/temp.macosx-10.14-x86_64-3.7/psycopg/replication_cursor_type.o
build/temp.macosx-10.14-x86_64-3.7/psycopg/replication_message_type.o
build/temp.macosx-10.14-x86_64-3.7/psycopg/diagnostics_type.o
build/temp.macosx-10.14-x86_64-3.7/psycopg/error_type.o
build/temp.macosx-10.14-x86_64-3.7/psycopg/conninfo_type.o
build/temp.macosx-10.14-x86_64-3.7/psycopg/lobject_int.o
build/temp.macosx-10.14-x86_64-3.7/psycopg/lobject_type.o
build/temp.macosx-10.14-x86_64-3.7/psycopg/notify_type.o
build/temp.macosx-10.14-x86_64-3.7/psycopg/xid_type.o
build/temp.macosx-10.14-x86_64-3.7/psycopg/adapter_asis.o
build/temp.macosx-10.14-x86_64-3.7/psycopg/adapter_binary.o
build/temp.macosx-10.14-x86_64-3.7/psycopg/adapter_datetime.o
build/temp.macosx-10.14-x86_64-3.7/psycopg/adapter_list.o
build/temp.macosx-10.14-x86_64-3.7/psycopg/adapter_pboolean.o
build/temp.macosx-10.14-x86_64-3.7/psycopg/adapter_pdecimal.o
build/temp.macosx-10.14-x86_64-3.7/psycopg/adapter_pint.o
build/temp.macosx-10.14-x86_64-3.7/psycopg/adapter_pfloat.o
build/temp.macosx-10.14-x86_64-3.7/psycopg/adapter_qstring.o
build/temp.macosx-10.14-x86_64-3.7/psycopg/microprotocols.o
build/temp.macosx-10.14-x86_64-3.7/psycopg/microprotocols_proto.o
build/temp.macosx-10.14-x86_64-3.7/psycopg/typecast.o
-L/opt/local/lib/postgresql10 -lpq -lssl -lcrypto -o
build/lib.macosx-10.14-x86_64-3.7/psycopg2/_psycopg.cpython-37m-darwin.so
:info:build ld: library not found for -lssl
}}}
{{{
$ port contents openssl | fgrep libssl
/opt/local/lib/libssl.1.0.0.dylib
/opt/local/lib/openssl-1.0/libssl.1.0.0.dylib
/opt/local/lib/openssl-1.0/libssl.a
/opt/local/lib/openssl-1.0/libssl.dylib
/opt/local/lib/openssl-1.0/pkgconfig/libssl.pc
/opt/local/lib/pkgconfig/libssl.pc
}}}
{{{
$ ls -la /opt/local/lib/libssl.1.0.0.dylib
lrwxr-xr-x 1 root admin 30 2019-03-25 23:37:46
/opt/local/lib/libssl.1.0.0.dylib -> openssl-1.0/libssl.1.0.0.dylib
}}}
--
Ticket URL: <https://trac.macports.org/ticket/58342>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list