[Serusers] Mysql.so

Marcelo Schmidt mschmidt at equinix.com
Thu Jul 3 17:48:45 CEST 2003


Andrei,

Yes, it is i386.  All the defualt ser's modules are working OK.  I will let you know if I find any problems on NetBSD/i386.
 
Now in FreeBSD:
 
 ldd /usr/local/lib/ser/modules/mysql.so
/usr/local/lib/ser/modules/mysql.so:
ldd: /usr/local/lib/ser/modules/mysql.so: Exec format error
/usr/local/lib/ser/modules/mysql.so: exit status 1

 ldconfig -r |grep mysql
(I got no output)
 
Marcelo.
 
btw: sorry for this email/html but I had no other quicker options from here today.

	-----Original Message----- 
	From: Andrei Pelinescu-Onciul [mailto:pelinescu-onciul at fokus.fraunhofer.de] 
	Sent: Thu 7/3/2003 4:09 AM 
	To: Marcelo Schmidt 
	Cc: serusers at iptel.org 
	Subject: Re: [Serusers] Mysql.so
	
	

	On Jul 02, 2003 at 16:04, Marcelo Schmidt <mschmidt at equinix.com> wrote: 
	> I am dealing with one NetBsd and a FreeBsd... 

	Are you running ser on NetBSD/i386? We tried so far NetBSD only on 
	sparc64. Is it working ok? (can I add it to the tested architectures?) 

	> Now the question is for 
	> the second one, I uncommented this line: loadmodule 
	> "/usr/local/lib/ser/modules/mysql.so" only (just testing if it can find 
	> the mysql module). I got: 
	> 
	>  0(95642) ERROR: load_module: could not open module 
	> </usr/local/lib/ser/modules/mysql.so>: Shared object 
	> "libmysqlclient.so.10" not found 
	>  0(95642) parse error (22,13-49): failed to load module 
	> ERROR: bad config file (1 errors) 
	> 
	> == 
	> file libmysqlclient.so.10 
	> libmysqlclient.so.10: ELF 32-bit LSB shared object, Intel 80386, version 
	> 1 (FreeBSD), not stripped 
	> == 
	> /usr/local/mysql/lib/mysql 
	> -rwxr-xr-x  1 root  mysql  136729 Jun 30 22:23 libmysqlclient.so.10 
	> == 
	> modules/mysql/Makefile 
	> # $Id: Makefile,v 1.15 2002/11/12 12:32:17 andrei Exp $ 
	> ... 
	> LIBS=-L/usr/lib/mysql -L /usr/local/lib -L/usr/local/lib/mysql \ 
	>                 -L/usr/local/mysql/lib/mysql/ \ 
	>                 -lmysqlclient -lz 
	> 
	> All seemed to be OK but not, any help is highly appreciated. 


	Try (& send the output to me): 
	ldd /usr/local/lib/ser/modules/mysql.so 
	and 
	 ldconfig -r |grep mysql 
	(libmysqlclient should be in ldconfig hints file) 


	Andrei 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20030703/e3cda226/attachment.htm>


More information about the sr-users mailing list