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@lists.iptel.org Subject: Re: [Serusers] Mysql.so
On Jul 02, 2003 at 11:57, Marcelo Schmidt mschmidt@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
On 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
Hello,
try to use LD_LIBRARY_PATH environment variable set to /usr/local/mysql/lib/mysql
i.e. in bash (export LD_LIBRARY_PATH=/usr/local/mysql/lib/mysql)
and then restart ser.
Jan.
On 02-07 16:04, Marcelo Schmidt wrote:
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@lists.iptel.org Subject: Re: [Serusers] Mysql.so
On Jul 02, 2003 at 11:57, Marcelo Schmidt mschmidt@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
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
On 04-07 12:03, Jan Janak wrote:
Hello,
try to use LD_LIBRARY_PATH environment variable set to /usr/local/mysql/lib/mysql
i.e. in bash (export LD_LIBRARY_PATH=/usr/local/mysql/lib/mysql)
Errata: export LD_LIBRARY_PATH=/usr/local/mysql/lib/mysql
Jan.
and then restart ser.
Jan.
On 02-07 16:04, Marcelo Schmidt wrote:
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@lists.iptel.org Subject: Re: [Serusers] Mysql.so
On Jul 02, 2003 at 11:57, Marcelo Schmidt mschmidt@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
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers