Coturn: ./configure problem

Created on 8 May 2017  ·  9Comments  ·  Source: coturn/coturn

I use Mac in coturn folder run ./configure, generate log below.
Please help me to solve it, Thanks.

➜  coturn ./configure      
install is /usr/bin/install
pkill is /usr/bin/pkill
sqlite3 is /usr/bin/sqlite3
Use TMP dir /var/tmp
Compiler: cc
Library option -lsocket cannot be used
Library option -lrt cannot be used
Library option -lwldap32 cannot be used
Library option -lwldap64 cannot be used
Library option -lintl cannot be used
Library option -lnsl cannot be used
Sockets code is fine: sin_len field present
pthread barriers not found
Ignore IP_RECVERR
Library option -lcrypto cannot be used
ERROR: OpenSSL Crypto development libraries are not installed properly in required location.
Abort.

Most helpful comment

try
apt install libssl-dev

All 9 comments

Something is not right about your OpenSSL setup.

I just tried on my Mac Book (that has vanilla latest Mac OS X) and it
configures just fine.

On Sun, May 7, 2017 at 6:43 PM, colin-liu notifications@github.com wrote:

I use Mac in coturn folder run ./configure, generate log below.
Please help me to solve it, Thanks.

➜ coturn ./configure
install is /usr/bin/install
pkill is /usr/bin/pkill
sqlite3 is /usr/bin/sqlite3
Use TMP dir /var/tmp
Compiler: cc
Library option -lsocket cannot be used
Library option -lrt cannot be used
Library option -lwldap32 cannot be used
Library option -lwldap64 cannot be used
Library option -lintl cannot be used
Library option -lnsl cannot be used
Sockets code is fine: sin_len field present
pthread barriers not found
Ignore IP_RECVERR
Library option -lcrypto cannot be used
ERROR: OpenSSL Crypto development libraries are not installed properly in required location.
Abort.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/coturn/coturn/issues/122, or mute the thread
https://github.com/notifications/unsubscribe-auth/AFq2UOSjZW8OIA4K88-3_0ZyBLyBG0BTks5r3nNJgaJpZM4NTZBN
.

@colin-liu I had the same problem. This post helped me
http://stackoverflow.com/questions/33530865/compiling-c-programs-using-libssl-on-os-x-el-capitan

More specifically I just added the exports:

export LDFLAGS=-L/usr/local/opt/openssl/lib
export CPPFLAGS=-I/usr/local/opt/openssl/include

I have the same issue on ubuntu.

./configure
ginstall: not found
install is /usr/bin/install
pkill is /usr/bin/pkill
sqlite3: not found
sqlite: not found
Use TMP dir /var/tmp
Compiler: cc
Library option -lsocket cannot be used
Library option -lwldap32 cannot be used
Library option -lwldap64 cannot be used
Library option -lintl cannot be used
Sockets code is fine: no sin_len field present
Ignore IP_RECVERR
Library option -lcrypto cannot be used
ERROR: OpenSSL Crypto development libraries are not installed properly in required location.
Abort.

lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.5 LTS
Release: 14.04
Codename: trusty

uname -a
Linux webrtc-dev 4.4.0-92-generic 115~14.04.1-Ubuntu SMP Thu Aug 10 15:06:53 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

+1

try
apt install libssl-dev

On CentOS (and other RPM-based distributions), you need to install the openssl-devel package:

sudo yum install openssl-devel
(Use sudo dnf ... on CentOS 8, RHEL 8 or Fedora.)

The equivalent in the Debian ecosystem is libssl-dev

Hi I am trying to install Coturn but getting error.
Cannot use Compiler unknown property
Screenshot 2020-06-30 at 2 19 53 PM

嗨,我正在尝试安装Coturn,但出现错误。
无法使用编译器未知属性
截图2020-06-30 at 2 19 53 PM

Depending on what seems like a permission issue, you can try
chmod 777 /var/ tmp/*

嗨,我正在尝试安装Coturn,但出现错误。
无法使用编译器未知属性
截图2020-06-30 at 2 19 53 PM

If there are more issues, welcome to QQ group 959024679

Was this page helpful?
0 / 5 - 0 ratings