Alessio Focardi
2005-Feb-17 07:21 UTC
[Asterisk-Users] Problem with asterisk-addons: libmysqlclient.so.14: cannot open shared object file
Hi, I have compiled "asterisk-addons" successfully, but when I put res_config_mysql.so in modules directory asterisk fails to load, here is the error: 7:29 WARNING[19097]: loader.c:301 __load_resource: libmysqlclient.so.14: cannot open shared object file: No such file or directory Feb 17 15:17:29 WARNING[19097]: loader.c:509 load_modules: Loading module res_config_mysql.so failed! libmysqlclient is present on the system, should I edit something to point * to the right directory for it or something like ? Tnx for any help! -- Best regards, Alessio mailto:afoc@interconnessioni.it
Matthew Boehm
2005-Feb-17 08:28 UTC
[Asterisk-Users] Problem with asterisk-addons:libmysqlclient.so.14: cannot open shared object file
Run this from inside asterisk-addons: make clean; cvs update; make; make install then try again. be sure you have v1.7 of res_config_mysql The Makefile seems to check most places for mysql libraries but check it again to make sure. Also make sure your mysql lib path is in ld.so.config then rerun ldconfig. (Oh..do that before you do the above commands) -Matthew ----- Original Message ----- From: "Alessio Focardi" <afoc@interconnessioni.it> To: <asterisk-users@lists.digium.com> Sent: Thursday, February 17, 2005 8:21 AM Subject: [Asterisk-Users] Problem with asterisk-addons:libmysqlclient.so.14: cannot open shared object file> Hi, > > I have compiled "asterisk-addons" successfully, but when I put > res_config_mysql.so in modules directory asterisk fails to load, here > is the error: > > 7:29 WARNING[19097]: loader.c:301 __load_resource: libmysqlclient.so.14:cannot open shared object file: No such file or directory> > Feb 17 15:17:29 WARNING[19097]: loader.c:509 load_modules: Loading moduleres_config_mysql.so failed!> > > libmysqlclient is present on the system, should I edit something to point*> to the right directory for it or something like ? > > Tnx for any help! > > > -- > Best regards, > Alessio mailto:afoc@interconnessioni.it > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users