Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with Openssl v 3.0.13 #268

Open
girishdharmaraj1980 opened this issue Aug 29, 2024 · 2 comments
Open

Error with Openssl v 3.0.13 #268

girishdharmaraj1980 opened this issue Aug 29, 2024 · 2 comments

Comments

@girishdharmaraj1980
Copy link

     LINK sip-options

/usr/bin/ld: ../libsofia-sip-ua/.libs/libsofia-sip-ua.so: undefined reference to SSL_get_error' /usr/bin/ld: ../libsofia-sip-ua/.libs/libsofia-sip-ua.so: undefined reference to TLS_server_method'
/usr/bin/ld: ../libsofia-sip-ua/.libs/libsofia-sip-ua.so: undefined reference to SSL_CTX_set_options' /usr/bin/ld: ../libsofia-sip-ua/.libs/libsofia-sip-ua.so: undefined reference to SSL_write'
/usr/bin/ld: ../libsofia-sip-ua/.libs/libsofia-sip-ua.so: undefined reference to SSL_get_shutdown' /usr/bin/ld: ../libsofia-sip-ua/.libs/libsofia-sip-ua.so: undefined reference to SSL_free'
/usr/bin/ld: ../libsofia-sip-ua/.libs/libsofia-sip-ua.so: undefined reference to SSL_CTX_use_certificate_chain_file' /usr/bin/ld: ../libsofia-sip-ua/.libs/libsofia-sip-ua.so: undefined reference to SSL_set_fd'
/usr/bin/ld: ../libsofia-sip-ua/.libs/libsofia-sip-ua.so: undefined reference to ERR_reason_error_string' /usr/bin/ld: ../libsofia-sip-ua/.libs/libsofia-sip-ua.so: undefined reference to ERR_lib_error_string'
/usr/bin/ld: ../libsofia-sip-ua/.libs/libsofia-sip-ua.so: undefined reference to SSL_read' /usr/bin/ld: ../libsofia-sip-ua/.libs/libsofia-sip-ua.so: undefined reference to SSL_new'
/usr/bin/ld: ../libsofia-sip-ua/.libs/libsofia-sip-ua.so: undefined reference to SSL_CTX_use_certificate_file' /usr/bin/ld: ../libsofia-sip-ua/.libs/libsofia-sip-ua.so: undefined reference to SSL_shutdown'
/usr/bin/ld: ../libsofia-sip-ua/.libs/libsofia-sip-ua.so: undefined reference to ERR_clear_error' /usr/bin/ld: ../libsofia-sip-ua/.libs/libsofia-sip-ua.so: undefined reference to SSL_CTX_sess_set_remove_cb'
/usr/bin/ld: ../libsofia-sip-ua/.libs/libsofia-sip-ua.so: undefined reference to SSL_accept' /usr/bin/ld: ../libsofia-sip-ua/.libs/libsofia-sip-ua.so: undefined reference to SSL_CTX_new'
/usr/bin/ld: ../libsofia-sip-ua/.libs/libsofia-sip-ua.so: undefined reference to SHA1_Update' /usr/bin/ld: ../libsofia-sip-ua/.libs/libsofia-sip-ua.so: undefined reference to OPENSSL_init_ssl'
/usr/bin/ld: ../libsofia-sip-ua/.libs/libsofia-sip-ua.so: undefined reference to ERR_func_error_string' /usr/bin/ld: ../libsofia-sip-ua/.libs/libsofia-sip-ua.so: undefined reference to SSL_CTX_use_PrivateKey_file'
/usr/bin/ld: ../libsofia-sip-ua/.libs/libsofia-sip-ua.so: undefined reference to SSL_CTX_set_cipher_list' /usr/bin/ld: ../libsofia-sip-ua/.libs/libsofia-sip-ua.so: undefined reference to tls_log_errors'
/usr/bin/ld: ../libsofia-sip-ua/.libs/libsofia-sip-ua.so: undefined reference to SHA1_Init' /usr/bin/ld: ../libsofia-sip-ua/.libs/libsofia-sip-ua.so: undefined reference to SSL_CTX_free'
/usr/bin/ld: ../libsofia-sip-ua/.libs/libsofia-sip-ua.so: undefined reference to ERR_get_error' /usr/bin/ld: ../libsofia-sip-ua/.libs/libsofia-sip-ua.so: undefined reference to SSL_CTX_check_private_key'
/usr/bin/ld: ../libsofia-sip-ua/.libs/libsofia-sip-ua.so: undefined reference to `SHA1_Final'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:581: sip-options] Error 1
make[2]: Leaving directory '/usr/src/sofia-sip/utils'
make[1]: *** [Makefile:506: all-recursive] Error 1
make[1]: Leaving directory '/usr/src/sofia-sip'
make: *** [Makefile:427: all] Error 2

@girishdharmaraj1980
Copy link
Author

cat /etc/*release
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

openssl version
OpenSSL 3.0.13 30 Jan 2024 (Library: OpenSSL 3.0.13 30 Jan 2024)

@themsley-voiceflex
Copy link

themsley-voiceflex commented Aug 29, 2024

You neglected to mention the sofia-sip version you're trying to build. Current is 1.13.17 and you need a reasonably current version to support openssl 3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants