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 <sr-users-bounces(a)lists.kamailio.org> On Behalf Of Abdoul Osséni
Sent: Wednesday, June 29, 2022 7:44 PM
To: Kamailio (SER) - Users Mailing List <sr-users(a)lists.kamailio.org>
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