[OpenSIPS-Users] Opensips installation on Ubuntu 18.04

Anderson Catão andersoncatao at hotmail.com
Sun Feb 23 02:09:20 EST 2020


Hello I`m trying to install Opensips 2.4.7 on Ubuntu 18.04, but I`m facing the following error:

Linking opensips
main.o: In function `pthread_mutex_init':
/usr/local/src/opensips-2.4.7/ssl_tweaks.h:32: undefined reference to `pthread_mutexattr_setpshared'
/usr/local/src/opensips-2.4.7/ssl_tweaks.h:26: undefined reference to `pthread_mutexattr_init'
/usr/local/src/opensips-2.4.7/ssl_tweaks.h:32: undefined reference to `pthread_mutexattr_setpshared'
/usr/local/src/opensips-2.4.7/ssl_tweaks.h:38: undefined reference to `pthread_mutexattr_destroy'
main.o: In function `pthread_rwlock_init':
/usr/local/src/opensips-2.4.7/ssl_tweaks.h:64: undefined reference to `pthread_rwlockattr_setpshared'
/usr/local/src/opensips-2.4.7/ssl_tweaks.h:58: undefined reference to `pthread_rwlockattr_init'
/usr/local/src/opensips-2.4.7/ssl_tweaks.h:64: undefined reference to `pthread_rwlockattr_setpshared'
/usr/local/src/opensips-2.4.7/ssl_tweaks.h:70: undefined reference to `pthread_rwlockattr_destroy'
collect2: error: ld returned 1 exit status
Makefile.rules:38: recipe for target 'opensips' failed
make[1]: *** [opensips] Error 1
make[1]: Leaving directory '/usr/local/src/opensips-2.4.7'


Any tip why ?

Thank you !

--
Atenciosamente,
Anderson Catão
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20200223/5e3e08f4/attachment-0001.html>


More information about the Users mailing list