Nothing irrational about the compilation of mysql... I tried to explain in a previous post that when compiling AND linking, the only thing required are the mysql-devel package, i.e. header files. As long as they are present and matches mysql modules expected function parameters and return values, everything will compile without errors. When you run ser, the modules will load and the symbols will be resolved. If the mysql client library is missing (matching the mysql-devel headers), the dynamic loader will fail.
hope this was clearer. g-)
------- Original message ------- From: sip sip@arcdiv.com Sent: 7.2.'07, 21:34
Wow... you have many versions of the mysqlclient libs.
HOWEVER... you have the same problem I had.
All of you more recent ones are stored in /usr/lib. The mysql.so module compile ONLY looks for the lib in /usr/lib/mysql (or some of the /usr/local subtrees). However, it will compile and link just FINE (for reasons escaping rationality) without its required libraries in the right place and just error out when you try and run it.
sym link libmysqlclient.so.15 into the /usr/lib/mysql dir, recompile, and try again.
ln -s /usr/lib/mysqlclient.so.15 /usr/lib/mysql
Also... you should think about cleaning up some of the old versions of the mysql stuff. That's only going to cause issues down the road.
N.
On Wed, 07 Feb 2007 20:07:23 -0500, Steve Blair wrote
libmysqlclient_r.so.15 (libc6) => /usr/lib/libmysqlclient_r.so.15 libmysqlclient_r.so.14 (libc6) => /usr/lib/libmysqlclient_r.so.14 libmysqlclient_r.so.12 (libc6) => /usr/lib/libmysqlclient_r.so.12 libmysqlclient_r.so.10 (libc6) => /usr/lib/mysql/libmysqlclient_r.so.10 libmysqlclient_r.so.10 (libc6) => /usr/lib/libmysqlclient_r.so.10 libmysqlclient_r.so (libc6) => /usr/lib/libmysqlclient_r.so libmysqlclient.so.15 (libc6) => /usr/lib/libmysqlclient.so.15 libmysqlclient.so.14 (libc6) => /usr/lib/libmysqlclient.so.14 libmysqlclient.so.12 (libc6) => /usr/lib/libmysqlclient.so.12 libmysqlclient.so.10 (libc6) => /usr/lib/mysql/libmysqlclient.so.10 libmysqlclient.so.10 (libc6) => /usr/lib/libmysqlclient.so.10 libmysqlclient.so (libc6) => /usr/lib/libmysqlclient.so
sip wrote:
Heh. I JUST posted information about this to the list a few days ago.
What version of MySQL are you using? What OS?
Can you run this command and tell me the output?
ldconfig -p | grep -i mysqlclient
N.
On Wed, 07 Feb 2007 16:16:35 -0500, Steve Blair wrote
Hi:
I keep getting the following error on a 0.9.x system. The latest 0.9.x version of SER was just download and built on this server but I continue to get this same error. I've check the mysql Makefile and it seems to be correct. What else could cause this error?
ERROR: load_module: could not open module </usr/local/lib/ser/modules/mysql.so>: /usr/local/lib/ser/modules/mysql.so: undefined symbol: log
Thanks,Steve _______________________________________________ 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