[SR-Users] Failure to load module db_mysql.so due to undefined symbol: log

Pratab Ali Pratab.Ali at ACULAB.COM
Wed Apr 14 17:24:08 CEST 2010


Hi marius,

Your suggestion with regards to appending -lm after -lz worked. I no
longer get the "undefined symbol: log" error. Thanks!

However, now I have kamailio unable to connect to mysql because I've not
told it to use the correct port. This I can fix from reading the
documentation.

Many thanks to all for your help.

Pratab

-----Original Message-----
From: marius zbihlei [mailto:marius.zbihlei at 1and1.ro] 
Sent: 14 April 2010 16:16
To: Pratab Ali
Cc: Henning Westerholt; sr-users at lists.sip-router.org
Subject: Re: [SR-Users] Failure to load module db_mysql.so due to
undefined symbol: log

Pratab Ali wrote:
> Hi,
>
> Thanks, I just followed your git instructions and it shows that I have

> Daniel's change.
>
> I will try a clean rebuild and run again.
>
> Thanks.
> pratab
>   

If a clean build doesn't solve can you add to modules/db_mysql/Makefile
a -lm (link the math library) to the LIBS variable (right after -lz)

Can you test with this?

Thanks

Marius






More information about the sr-users mailing list