I am dealing with one NetBsd and a FreeBsd... 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.
Thanks,
Marcelo.
-----Original Message-----
From: Andrei Pelinescu-Onciul
[mailto:pelinescu-onciul@fokus.fraunhofer.de]
Sent: Wednesday, July 02, 2003 1:13 PM
To: Marcelo Schmidt
Cc: serusers(a)lists.iptel.org
Subject: Re: [Serusers] Mysql.so
On Jul 02, 2003 at 11:57, Marcelo Schmidt <mschmidt(a)equinix.com> wrote:
Like I said, I used: exclude_modules=""
modules --no errors, ser is
running but I don't see any mysql.so under modules, I thought that it
wouldn't matter since the mysql's binaries are already installed but
when I tried to include the very first line: loadmodule
"/usr/local/lib/ser/modules/mysql.so" then the configuration
complains. If I am missing something please let me know.
You have to run make install in the same way as make modules: make
exclude_modules="" install or make include_modules=mysql install
(to install only the mysql module you need only:
make modules=modules/mysql install )
Andrei