I have SER 0.9.3 and also MySQL 3.23.58 running in a FC3 box. When I uncommented ser.cfg for using mysql database I am getting: ERROR: load_module: could not open module </usr/local/lib/ser/modules/mysql.so>: libmysqlclient.so.12: canot open shared object file: No such file or directory. This file isn't anywhere in my machine. May be I don't have the mysql client installed or running? How can I get this file? Thanks Juan
Juan, You need to install both the server and client mySQL rpms. The libmysqlclient.so is included in the mySQL client rpm. Apart from that, I am assuming that if you are installing SER from source, you remembered to include mySQL in the make file. mySQL is excluded by default. You will need to run the mySQL script to generate the required tables and after that set the correct permissions for the mySQL user and root. On the SER side you will also need to run the ser mySQL script to generate the ser database. finally you will need to edit the mySQL file in /etc/rc.d/init.d to auto start mySQL. Please note that by default the init file has no run levels set. You need to edit mySQL and insert run levels 345.or use chkconfig and levels option 345 and on to change the run levels. To take effect restart mySQL. Need more help "holla"
HTH
KOFI -----Original Message----- From: serusers-bounces@iptel.org [mailto:serusers-bounces@lists.iptel.org]On Behalf Of Juan Sent: Wednesday, July 13, 2005 1:46 PM To: serusers@lists.iptel.org Subject: [Serusers] libmysql
I have SER 0.9.3 and also MySQL 3.23.58 running in a FC3 box. When I uncommented ser.cfg for using mysql database I am getting: ERROR: load_module: could not open module </usr/local/lib/ser/modules/mysql.so>: libmysqlclient.so.12: canot open shared object file: No such file or directory. This file isn't anywhere in my machine. May be I don't have the mysql client installed or running? How can I get this file? Thanks Juan
On 13-07-2005 16:45, Juan wrote:
I have SER 0.9.3 and also MySQL 3.23.58 running in a FC3 box. When I uncommented ser.cfg for using mysql database I am getting: ERROR: load_module: could not open module </usr/local/lib/ser/modules/mysql.so>: libmysqlclient.so.12: canot open shared object file: No such file or directory. This file isn't anywhere in my machine. May be I don't have the mysql client installed or running? How can I get this file? Thanks Juan
You probably have libmysqlclient.so.10 installed on your system, but you will need libmysqlclient.so.12. I recommend to upgrade mysql packages to 4.x
Jan.
Thanks to all who responded. I first did what Harry proposed and found the module in the right place. As Jan supposed I have libmysqlclient.so.10 in my box. I will try Jason's way first and if I am not lucky I will upgrade to 4.0 Later I will have to go Kofi's way to make mysql auto start. What a great people! Thanks agn. Juan
-----Original Message----- From: Jan Janak [mailto:jan@iptel.org] Sent: Thursday, July 14, 2005 7:27 AM To: Juan Cc: serusers@lists.iptel.org Subject: Re: [Serusers] libmysql
On 13-07-2005 16:45, Juan wrote:
I have SER 0.9.3 and also MySQL 3.23.58 running in a FC3 box. When I uncommented ser.cfg for using mysql database I am getting: ERROR: load_module: could not open module </usr/local/lib/ser/modules/mysql.so>: libmysqlclient.so.12: canot open shared object file: No such file or directory. This file isn't anywhere in my machine. May be I don't have the mysql client installed or running? How can I get this file? Thanks Juan
You probably have libmysqlclient.so.10 installed on your system, but you will need libmysqlclient.so.12. I recommend to upgrade mysql packages to 4.x
Jan.
Juan,
I had the exact same problem. I had MySQL installed and it was working fine but I got that error. The solution was to navigate to the modules/mysql folder in the source and then perform a make in that directory. This will create the mysql.so library. You can then cp it over to the /usr/local/lib/ser/modules/directory and it will work great.
Hope that helps.
Juan wrote:
I have SER 0.9.3 and also MySQL 3.23.58 running in a FC3 box. When I uncommented ser.cfg for using mysql database I am getting: ERROR: load_module: could not open module </usr/local/lib/ser/modules/mysql.so>: libmysqlclient.so.12: canot open shared object file: No such file or directory. This file isn't anywhere in my machine. May be I don't have the mysql client installed or running? How can I get this file? Thanks Juan
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers