[Serusers] Cannot open module mysq.so - undefined symbol: log

Borja Diaz de Teran law32law at hotmail.com
Fri Sep 21 16:38:21 CEST 2007


*Using Redhat Enterprise *MySQL  Version 14.12 Distrib 5.0.27, for pc-linux-gnu (i686) using readline 5.0
1) I've followed the instructions to install SER in conjunction with Mysql and I've even tried to compile in a different way (make group_include="standard standard-dep stable mysql" skip_modules="postgres" all) 

[root at filipides ser]# ser -f /usr/local/etc/ser/ser.cfg
Segment violation 
I keep getting the same error:
Sep 21 13:57:30 filipides ser: ERROR: load_module: could not open module /usr/local/lib/ser/modules/mysql.so>: /usr/local/lib/ser/modules/mysql.so:
undefined symbol: log
Sep 21 13:57:30 filipides ser: parse error (81,13-14): failed to load module
2) LOG can be found in the following modules (apart from the ser exe):[root at filipides modules]# grep LOG *
Match in cpl-c.so
Match in dialog.so
Match in mysql.so
Match in pa.so
Match in xlog.so

3) In order to check the existence of that pattern I did the following search:find . -name "*" -exec grep -l "LOG"  {} \; ,  and it's inside (almost) all the files and objects compiled.implementación. The compilation of the MySQL module seems to be correct.

gcc -shared  -Wl,-O2 -Wl,-E   dbase.o db_con.o db_mod.o my_con.o res.o
row.o utils.o val.o   -L/usr/lib/mysql -L/usr/local/lib
-L/usr/local/lib/mysql -L/usr/local/mysql/lib/mysql/
-L/usr/local/mysql/lib -L/usr/lib64/mysql -lmysqlclient -lz -o mysql.so

and it doesn't give any errors. I've tried changing all the LOG calls in all the .c files of the MySQL module to printf. I've compiled and install and nothing changes. I keep getting the same error.Do you have any clue of what I could be doing wrong?Thank you in advance.





_________________________________________________________________
¡Ya está aquí Windows Live Spaces! Ahora podrás crear fácilmente tu propio sitio Web.
http://spaces.live.com/signup.aspx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20070921/a7dc46b9/attachment.htm>


More information about the sr-users mailing list