<p></p>
<p>The error comes from mysql library. As I can see you installed the kamailio 5.3.5+ubuntu18.04 on an ubuntu 20.04, so very likely it is a mismatch with what library is used for building the packages and what is available on the system.</p>
<p>Try to compile from sources and see what you get. Or use the Ubuntu 20.04 packages for Kamailio 5.4.0.</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/2427#issuecomment-670364507">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZJMMOYV3FOSSZCZPJDR7ORRTANCNFSM4PTZIDYA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZI5PT65YIVHQLGD46LR7ORRTA5CNFSM4PTZIDYKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOE72PGWY.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/2427#issuecomment-670364507",
"url": "https://github.com/kamailio/kamailio/issues/2427#issuecomment-670364507",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>