[SR-Users] Makefile.rules:191: recipe for target 'tlsa.so' failed

Abdoul Osséni abdoul.osseni at gmail.com
Wed Jun 29 19:44:26 CEST 2022


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 at sbc:/usr/local/src/kamailio-5.6/kamailio# cat /etc/debian_version
8.6

root at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20220629/a6aaab4d/attachment.htm>


More information about the sr-users mailing list