[Serusers] 0.9.x mysql.so: undefined symbol: log error

sip sip at arcdiv.com
Thu Feb 8 03:34:24 CET 2007


Wow... you have many versions of the mysqlclient libs. 

HOWEVER... you have the same problem I had. 

All of you more recent ones are stored in /usr/lib.  The mysql.so module
compile ONLY looks for the lib in /usr/lib/mysql (or some of the /usr/local
subtrees).  However, it will compile and link just FINE (for reasons escaping
rationality) without its required libraries in the right place and just error
out when you try and run it. 

sym link libmysqlclient.so.15 into the /usr/lib/mysql dir, recompile, and try
again. 

ln -s /usr/lib/mysqlclient.so.15 /usr/lib/mysql

Also... you should think about cleaning up some of the old versions of the
mysql stuff. That's only going to cause issues down the road. 


N.


On Wed, 07 Feb 2007 20:07:23 -0500, Steve Blair wrote
> libmysqlclient_r.so.15 (libc6) => 
> /usr/lib/libmysqlclient_r.so.15        libmysqlclient_r.so.14 (libc6)
>  => /usr/lib/libmysqlclient_r.so.14        libmysqlclient_r.so.12 
> (libc6) => /usr/lib/libmysqlclient_r.so.12       
>  libmysqlclient_r.so.10 (libc6) => /usr/lib/mysql/libmysqlclient_r.so.10
>         libmysqlclient_r.so.10 (libc6) => /usr/lib/libmysqlclient_r.so.10
>         libmysqlclient_r.so (libc6) => /usr/lib/libmysqlclient_r.so
>         libmysqlclient.so.15 (libc6) => /usr/lib/libmysqlclient.so.15
>         libmysqlclient.so.14 (libc6) => /usr/lib/libmysqlclient.so.14
>         libmysqlclient.so.12 (libc6) => /usr/lib/libmysqlclient.so.12
>         libmysqlclient.so.10 (libc6) => /usr/lib/mysql/libmysqlclient.so.10
>         libmysqlclient.so.10 (libc6) => /usr/lib/libmysqlclient.so.10
>         libmysqlclient.so (libc6) => /usr/lib/libmysqlclient.so
> 
> sip wrote:
> 
> >Heh. I JUST posted information about this to the list a few days ago. 
> >
> >What version of MySQL are you using? What OS? 
> >
> >Can you run this command and tell me the output? 
> >
> >ldconfig -p | grep -i mysqlclient
> >
> >N.
> >
> >On Wed, 07 Feb 2007 16:16:35 -0500, Steve Blair wrote
> >  
> >
> >>Hi:
> >>
> >> I keep getting the following error on a 0.9.x system. The latest 
> >>0.9.x version of SER was just download and built on this server but 
> >>I continue to get this same error. I've check the mysql Makefile and 
> >>it seems to be correct. What else could cause this error?
> >>
> >>ERROR: load_module: could not open module 
> >></usr/local/lib/ser/modules/mysql.so>: 
> >>/usr/local/lib/ser/modules/mysql.so: undefined symbol: log
> >>
> >>Thanks,Steve
> >>_______________________________________________
> >>Serusers mailing list
> >>Serusers at lists.iptel.org
> >>http://lists.iptel.org/mailman/listinfo/serusers
> >>    
> >>
> >
> >  
> >




More information about the sr-users mailing list