[asterisk-users] Asterisk 11.23 with libmysqlclient20 on Debian 8
Tzafrir Cohen
tzafrir.cohen at xorcom.com
Wed Oct 5 09:13:41 CDT 2016
On Mon, Oct 03, 2016 at 07:54:23PM -0300, Victor Villarreal wrote:
> Hi List!
>
> I'm facing a problem while compiling Asterisk-11 on a Debian 8 server.
>
> The mysql-server version installed is 5.7 and come from the official mySQL
> community repo for Debian.
For the record, we ubild both asterisk 11 (last version: 11.21.2) and 13
(13.11.2) for Debian Stable using the distro-provided MySQL packages.
>
> After compile, install and execute Asterisk, the comman "lsof -p `pidof
> asterisk` | grep mysql" don't produce any output. Like if confgure script
> don't found the mysql lib.
Is Are there any mysql-related module loaded?
Start with e.g.
ldd /usr/lib/asterisk/module/cdr_mysql.so
>
> With libmysqlclient18 every is Ok. How can I use libmysqlclient20 with
> Asterisk ?
Were the relevant modules built? Do you use direct MySQL support? ODBC?
Maybe you forgot to install development headers?
>
> Thanks in advance, and best regards.
>
> root at nodo1:/usr/src/asterisk-11.23.0# ls -lh /usr/lib/x86_64-linux-gnu/ |
> grep mysql
> -rw-r--r-- 1 root root 5,7M ago 25 09:37 libmysqlclient.a
> lrwxrwxrwx 1 root root 20 ago 25 09:37 libmysqlclient.so ->
> libmysqlclient.so.20
This one typically comes from the development headers package, so it's
probably installed.
> lrwxrwxrwx 1 root root 24 ago 25 09:37 libmysqlclient.so.20 ->
> libmysqlclient.so.20.3.2
> -rw-r--r-- 1 root root 4,2M ago 25 09:37 libmysqlclient.so.20.3.2
> -rw-r--r-- 1 root root 18K ago 25 09:37 libmysqlservices.a
--
Tzafrir Cohen
icq#16849755 jabber:tzafrir.cohen at xorcom.com
+972-50-7952406 mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com
More information about the asterisk-users
mailing list