<div dir="ltr"><div dir="ltr">Hi Daniel,<div><br></div><div>Kamailio version is 5.6.1.</div><div><br></div><div>Installed openssl packages:</div><div>openssl-static-1.0.2k-25.el7_9.x86_64<br>openssl-libs-1.0.2k-25.el7_9.x86_64<br></div><div>openssl-devel-1.0.2k-25.el7_9.x86_64<br></div><div><br></div><div>Regards,</div><div>Koray</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Aug 23, 2022 at 8:01 PM Daniel-Constantin Mierla <<a href="mailto:miconda@gmail.com">miconda@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello,<br>
<br>
I did it only on debian (and ubuntu, iirc), not sure what redhad deploys<br>
for libssl and libcrypto.<br>
<br>
What is the Kamailio version?<br>
<br>
Cheers,<br>
Daniel<br>
<br>
On 22.08.22 10:45, Koray Vatansever wrote:<br>
> Hi everyone,<br>
><br>
> I'm trying to build tlsa module on redhat 7.9 server.<br>
><br>
> But I'm encountering the following compile errors.<br>
><br>
> Any ideas on how I can deal with this?<br>
><br>
> CC (gcc) [M tlsa.so] tls_util.o<br>
> CC (gcc) [M tlsa.so] tls_domain.o<br>
> CC (gcc) [M tlsa.so] tls_locking.o<br>
> CC (gcc) [M tlsa.so] tls_rand.o<br>
> CC (gcc) [M tlsa.so] tls_map.o<br>
> CC (gcc) [M tlsa.so] tls_cfg.o<br>
> CC (gcc) [M tlsa.so] tls_select.o<br>
> CC (gcc) [M tlsa.so] tls_dump_vf.o<br>
> CC (gcc) [M tlsa.so] tls_init.o<br>
> CC (gcc) [M tlsa.so] tls_bio.o<br>
> CC (gcc) [M tlsa.so] tls_config.o<br>
> CC (gcc) [M tlsa.so] tls_server.o<br>
> CC (gcc) [M tlsa.so] tls_rpc.o<br>
> CC (gcc) [M tlsa.so] tls_ct_wrq.o<br>
> CC (gcc) [M tlsa.so] tlsa_mod.o<br>
> CC (gcc) [M tlsa.so] tls_verify.o<br>
> LD (gcc) [M tlsa.so] tlsa.so<br>
> /usr/bin/ld:<br>
> /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/libz.a(deflate.o):<br>
> relocation R_X86_64_32S against hidden symbol `_length_code' can not<br>
> be used when making a shared object<br>
> /usr/bin/ld:<br>
> /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/libz.a(inflate.o):<br>
> relocation R_X86_64_32S against hidden symbol `zcfree' can not be used<br>
> when making a shared object<br>
> /usr/bin/ld:<br>
> /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/libz.a(inftrees.o):<br>
> relocation R_X86_64_32 against `.rodata' can not be used when making a<br>
> shared object; recompile with -fPIC<br>
> /usr/bin/ld:<br>
> /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/libz.a(trees.o):<br>
> relocation R_X86_64_32S against hidden symbol `_length_code' can not<br>
> be used when making a shared object<br>
> /usr/bin/ld:<br>
> /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/libz.a(zutil.o):<br>
> relocation R_X86_64_32 against `.rodata.str1.1' can not be used when<br>
> making a shared object; recompile with -fPIC<br>
> /usr/bin/ld:<br>
> /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/libz.a(crc32.o):<br>
> relocation R_X86_64_32 against `.rodata' can not be used when making a<br>
> shared object; recompile with -fPIC<br>
> /usr/bin/ld:<br>
> /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/libz.a(inffast.o):<br>
> relocation R_X86_64_32S against `.rodata.str1.1' can not be used when<br>
> making a shared object; recompile with -fPIC<br>
> /usr/bin/ld: tlsa.so: version node not found for symbol<br>
> SSLeay_version@OPENSSL_1.0.1<br>
> /usr/bin/ld: failed to set dynamic section sizes: Bad value<br>
> collect2: error: ld returned 1 exit status<br>
> make[2]: *** [tlsa.so] Error 1<br>
> make[1]: *** [modules] Error 1<br>
><br>
><br>
> __________________________________________________________<br>
> Kamailio - Users Mailing List - Non Commercial Discussions<br>
> * <a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
> Important: keep the mailing list in the recipients, do not reply only to the sender!<br>
> Edit mailing list options or unsubscribe:<br>
> * <a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br>
-- <br>
Daniel-Constantin Mierla -- <a href="http://www.asipto.com" rel="noreferrer" target="_blank">www.asipto.com</a><br>
<a href="http://www.twitter.com/miconda" rel="noreferrer" target="_blank">www.twitter.com/miconda</a> -- <a href="http://www.linkedin.com/in/miconda" rel="noreferrer" target="_blank">www.linkedin.com/in/miconda</a><br>
<br>
</blockquote></div></div>