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

Compilation Error #216

Open
JuanJEA opened this issue May 15, 2023 · 2 comments
Open

Compilation Error #216

JuanJEA opened this issue May 15, 2023 · 2 comments

Comments

@JuanJEA
Copy link

JuanJEA commented May 15, 2023

I am trying to install Sofia-SIP with the following steps:
git clone https://github.com/freeswitch/sofia-sip.git
sh autogen.sh
./configure
make
make install

Everything is fine until the ./configure, however once I run make I get the following message:

make[3]: Entering directory /opt/sofia-sip/libsofia-sip-ua/http' make all-am make[4]: Entering directory /opt/sofia-sip/libsofia-sip-ua/http'
make[4]: Nothing to be done for all-am'. make[4]: Leaving directory /opt/sofia-sip/libsofia-sip-ua/http'
make[3]: Leaving directory /opt/sofia-sip/libsofia-sip-ua/http' Making all in stun make[3]: Entering directory /opt/sofia-sip/libsofia-sip-ua/stun'
make all-am
make[4]: Entering directory /opt/sofia-sip/libsofia-sip-ua/stun' LINK stunc ./.libs/libstun.a(stun.o): In function stun_tls_callback':
stun.c:(.text+0x4b84): undefined reference to OPENSSL_init_ssl' stun.c:(.text+0x4b93): undefined reference to OPENSSL_init_ssl'
collect2: error: ld returned 1 exit status
make[4]: *** [stunc] Error 1
make[4]: Leaving directory /opt/sofia-sip/libsofia-sip-ua/stun' make[3]: *** [all] Error 2 make[3]: Leaving directory /opt/sofia-sip/libsofia-sip-ua/stun'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory /opt/sofia-sip/libsofia-sip-ua' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory /opt/sofia-sip'
make: *** [all] Error 2

I have tried OpenSSL 1.1.1k and OpenSSL 3.0.7 but the result is the same.
Do I need any prerequisites?

Thks

@a-rose
Copy link

a-rose commented Jul 12, 2023

Hi, I think libssl-dev is what you need here.

@lxl-595
Copy link

lxl-595 commented Nov 3, 2023

centos 没有用,安装openssl-devel还是会报错

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

3 participants