Andrei,
-----Original Message-----
From: Andrei Pelinescu-Onciul [mailto:pelinescu-onciul@fokus.fraunhofer.de]
Sent: Thu 7/3/2003 4:09 AM
To: Marcelo Schmidt
Cc: serusers@iptel.org
Subject: Re: [Serusers] Mysql.soOn Jul 02, 2003 at 16:04, Marcelo Schmidt <mschmidt@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