[SR-Users] Build Kamailio with MariaDB failed.

Ye, Charlie (NSB - CN/Qingdao) charlie.ye at nokia-sbell.com
Wed May 9 10:23:25 CEST 2018

Hi all,

Does everyone use MariaDB in Kamailio? When I built Kamailio with MariaDB, the below error happened. Would anyone give a help? Thanks in advance!

[root at clcmos /usr/local/src/kamailio-devel/kamailio]$ # make all
make -C src/ all
make[1]: Entering directory `/usr/local/src/kamailio-devel/kamailio/src'
make[3]: `libsrdb2.so.1.0' is up to date.
make[3]: `libsrdb1.so.1.0' is up to date.
LD (gcc) [M db_mysql.so]                db_mysql.so
/usr/bin/ld: cannot find -lmariadb
collect2: error: ld returned 1 exit status
make[2]: *** [db_mysql.so] Error 1
make[1]: *** [modules] Error 1
make[1]: Leaving directory `/usr/local/src/kamailio-devel/kamailio/src'
make: *** [all] Error 2

Thanks and Best Regards,

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20180509/7f710710/attachment.html>

More information about the sr-users mailing list