I have asterisk 1.4.21 and web meetme (latest release 3.1) I have also installed the latest versions of mysql and php. I followed the readme file that came with the web meetme app and everything seemed to go fine up until I realised the module wasnt being loaded. When I stop asterisk and try to start it, it errors out and does not load and I get the following message: Parsing '/etc/asterisk/cbmysql.conf': Found asterisk: symbol lookup error: /usr/lib/asterisk/modules/app_cbmysql.so: undefined symbol: mysql_init Has anybody seen this error message or have any idea what the problem could possibly be? If more information is required please let me know and I will post up any config files you need. Thanks
Matt Riddell
2009-Aug-31 04:03 UTC
[asterisk-users] Asterisk Web Meetme module not loading
On 31/08/09 2:33 PM, Glen wrote:> I have asterisk 1.4.21 and web meetme (latest release 3.1) I have also > installed the latest versions of mysql and php. I followed the readme > file that came with the web meetme app and everything seemed to go fine > up until I realised the module wasnt being loaded. When I stop asterisk > and try to start it, it errors out and does not load and I get the > following message: > > Parsing '/etc/asterisk/cbmysql.conf': Found > asterisk: symbol lookup error: /usr/lib/asterisk/modules/app_cbmysql.so: > undefined symbol: mysql_initLikely you don't have mysql-devel libraries installed - though I wonder how it would have compiled. mysql_init is a function provided by the libmysqlclient library - if you didn't compile app_cbmysql.so yourself, you could type ldd app_cbmysql.so to see what it links to then check your lib directory to see if you have the same - you might have 64 bit when it was compiled for 32 bit or something. -- Cheers, Matt Riddell Director _______________________________________________ http://www.venturevoip.com/news.php (Daily Asterisk News) http://www.venturevoip.com/st.php (SmoothTorque Predictive Dialer) http://www.venturevoip.com/c3.php (ConduIT3 PABX Systems)
Matt Riddell wrote:> In the latest readme for WebMeetMe (3.1.0) it states: > > * Compile and install CBMySQL > App_cbmysql is now included in the web-meetme package, > located in ./cbmysql. To install just run make; make install > > Copy the sample cbmysql.conf to /etc/asterisk and create > a dialplan similar to the one in cb-extensions.conf.sample > Modify the settings to suit your system. The location of the > mysql.sock file is likely not correct, check /etc/my.conf for > the correct location. > >That fixed it Matt, just compiling in the wrong directory. Thanks for all your help. -Glen