<p></p>
<p>Unfortunatly the additional switches made no effect, i have however found a work around...</p>
<p>If you set the <code>LIBSSL_STATIC_SRCLIB</code> to yes, and alter the path to where ubuntu stores the static libs from packages it compiles with no warnings and loads as expected.</p>
<pre><code># set to yes when wanting to link with static libraries compiled from source
LIBSSL_STATIC_SRCLIB ?= yes
# set to the path of the folder with static libraries compiled from source
#LIBSSL_STATIC_SRCPATH ?= /usr/local/src/openssl
LIBSSL_STATIC_SRCPATH ?= /usr/lib/x86_64-linux-gnu/
</code></pre>
<p>As an aside the emergence of this module and ruxc couldnt be more timely as i have been having no end of problems with random TLS failures which seem to be related to the new "locking" model, so if needs be being able to use an older version of libssl this is perfect, as is an alternative to http_client which has also been having random TLS failures of either accessing priv key or failing while trying to initialise the connection.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/2815#issuecomment-895854682">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZISRNUKPXVLJS5BTS3T4DSXRANCNFSM5BZ2LCJA">unsubscribe</a>.<br />Triage notifications on the go with GitHub Mobile for <a href="https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675">iOS</a> or <a href="https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email">Android</a>.<img src="https://github.com/notifications/beacon/ABO7UZKA6HCXFUSL5JVLTDDT4DSXRA5CNFSM5BZ2LCJKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGVS2QWQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/2815#issuecomment-895854682",
"url": "https://github.com/kamailio/kamailio/issues/2815#issuecomment-895854682",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>