Asterisk 11.23 With Libmysqlclient20 On Debian 8
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.
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.
With libmysqlclient18 every is Ok. How can I use libmysqlclient20 with Asterisk ?
Thanks in advance, and best regards.
root@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
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
2 thoughts on - Asterisk 11.23 With Libmysqlclient20 On Debian 8
I think that you need the dev files too. In Debian 8, the package is libmysqlclient-dev.
But Debian 8 uses libmysqlclient-18. Where did you get the 20 ?
Regards,
Marcelo H. Terres
IM: mhterres@jabber.mundoopensource.com.br https://www.mundoopensource.com.br https://twitter.com/mhterres https://linkedin.com/in/marceloterres
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.
Is Are there any mysql-related module loaded?
Start with e.g.
ldd /usr/lib/asterisk/module/cdr_mysql.so
Were the relevant modules built? Do you use direct MySQL support? ODBC?
Maybe you forgot to install development headers?
This one typically comes from the development headers package, so it’s probably installed.