Hello,

not sure if this is really the issue – but your Debian version 8 is really old.

Give it a try on a more recent Debian, e.g. version 10 or 11, this is probably 
what most people are using.

Cheers,

Henning

--
Henning Westerholt – https://skalatan.de/blog/
Kamailio services – https://gilawa.com<https://gilawa.com/>

From: sr-users <[email protected]> On Behalf Of Abdoul Osséni
Sent: Wednesday, June 29, 2022 7:44 PM
To: Kamailio (SER) - Users Mailing List <[email protected]>
Subject: [SR-Users] Makefile.rules:191: recipe for target 'tlsa.so' failed

Hello,

Cannot compile tlsa module. I get the following error message:

LD (gcc) [M tlsa.so] tlsa.so
/usr/bin/ld: 
/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu/libssl.a(ssl_lib.o):
 relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a 
shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu/libssl.a: error 
adding symbols: Bad value
collect2: error: ld returned 1 exit status
../../Makefile.rules:191: recipe for target 'tlsa.so' failed
make[2]: *** [tlsa.so] Error 1
Makefile:511: recipe for target 'modules' failed
make[1]: *** [modules] Error 1
make[1]: Leaving directory '/usr/local/src/kamailio-5.6/kamailio/src'
Makefile:34: recipe for target 'all' failed
make: *** [all] Error 2


Please find below some information about my environment system:

root@sbc:/usr/local/src/kamailio-5.6/kamailio#<mailto:root@sbc:/usr/local/src/kamailio-5.6/kamailio#>
 cat /etc/debian_version
8.6

root@sbc:/usr/local/src/kamailio-5.6/kamailio#<mailto:root@sbc:/usr/local/src/kamailio-5.6/kamailio#>
 openssl version
OpenSSL 3.0.4 21 Jun 2022 (Library: OpenSSL 3.0.4 21 Jun 2022)

Regards
Abdoul


__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
  * [email protected]
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:
  * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to