[PROJ] Unable to install proj 9.3 due to linking errors

ashwin .D winash12 at gmail.com
Wed Jul 17 03:06:20 PDT 2024


Hello ,
             I am trying to install PROJ 9.3. and I am getting linking
errors on Ubuntu 20.04 LTS.

I have enclosed the log file of the compilation errors.  My LD_LIBRARY_PATH
as root is set to
/usr/local/lib64 and that location does contain the libssl.so and
libcrypto.so. Any suggestions on where I am going wrong ?

The errors are undefined references -

/usr/bin/ld: ../../lib/libproj.so.25.9.3.1: undefined reference to
`SSL_alert_desc_string_long'
/usr/bin/ld: ../../lib/libproj.so.25.9.3.1: undefined reference to
`SSL_CTX_free'
/usr/bin/ld: ../../lib/libproj.so.25.9.3.1: undefined reference to
`X509_NAME_get_index_by_NID'
/usr/bin/ld: ../../lib/libproj.so.25.9.3.1: undefined reference to
`OCSP_response_status'
/usr/bin/ld: ../../lib/libproj.so.25.9.3.1: undefined reference to
`ASN1_STRING_print'
/usr/bin/ld: ../../lib/libproj.so.25.9.3.1: undefined reference to
`X509_STORE_up_ref'
/usr/bin/ld: ../../lib/libproj.so.25.9.3.1: undefined reference to
`BIO_meth_set_read'
/usr/bin/ld: ../../lib/libproj.so.25.9.3.1: undefined reference to
`OCSP_RESPONSE_free'
/usr/bin/ld: ../../lib/libproj.so.25.9.3.1: undefined reference to
`BIO_ctrl'
/usr/bin/ld: ../../lib/libproj.so.25.9.3.1: undefined reference to
`X509_PUBKEY_get0_param'
/usr/bin/ld: ../../lib/libproj.so.25.9.3.1: undefined reference to
`SSL_CTX_set_keylog_callback'
/usr/bin/ld: ../../lib/libproj.so.25.9.3.1: undefined reference to
`EVP_PKEY_get_id'
/usr/bin/ld: ../../lib/libproj.so.25.9.3.1: undefined reference to
`BIO_set_shutdown'
/usr/bin/ld: ../../lib/libproj.so.25.9.3.1: undefined reference to
`SSL_set0_rbio'
/usr/bin/ld: ../../lib/libproj.so.25.9.3.1: undefined reference to
`SSL_CTX_set_default_passwd_cb_userdata'
/usr/bin/ld: ../../lib/libproj.so.25.9.3.1: undefined reference to
`BIO_get_data'
/usr/bin/ld: ../../lib/libproj.so.25.9.3.1: undefined reference to
`X509_get0_extensions'
/usr/bin/ld: ../../lib/libproj.so.25.9.3.1: undefined reference to
`SSL_CTX_get_cert_store'
/usr/bin/ld: ../../lib/libproj.so.25.9.3.1: undefined reference to
`OCSP_crl_reason_str'

cmake version is 3.30.0
Best regards,
Ashwin.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/proj/attachments/20240717/26b9e14c/attachment.htm>


More information about the PROJ mailing list