Strange but true!
(I am using mysql 5)
I had tried previously to link the two files in /usr/lib - but without any luck.
After using strace as directed the output showed no association between libmysqlclient.so.12 and libmysqlclent.so.10 in /usr/lib.
However - when I re-linked the two files in /usr/lib after running strace - everything 'magically' started working - and so ended 5 days of frustration!
Thanks for all your help
Best Regards
Paul
_____
From: Ezequiel Colombo [mailto:ecolombo@arcotel.net] Sent: 13 September 2004 18:26 To: Ezequiel Colombo; Paul Cowie; g.billoudet@arwen-tech.fr Cc: serusers@lists.iptel.org Subject: Re: [Serusers] could not open module mysql.so
If recompilation if done and dont work you can use strace to see where are SER searching libmysqlclient:
strace ser -D 2>execlog
grep "libmysqlclient" execlog
Probably SER try to open /lib/libmysqlclient.so.12 and your mysql installation put the library under /usr/lib/mysql
----- Original Message -----
From: Ezequiel mailto:ecolombo@arcotel.net Colombo
To: Paul mailto:Paul.Cowie@dataflex.com Cowie ; g.billoudet@arwen-tech.fr mailto:g.billoudet@arwen-tech.fr
Cc: serusers@lists.iptel.org mailto:serusers@lists.iptel.org
Sent: Monday, September 13, 2004 1:58 PM
Subject: Re: [Serusers] could not open module mysql.so
I think that this is due to mysql upgrade from 3.23 to 4.
Try recompiling the ser mysql module
----- Original Message -----
From: Paul mailto:Paul.Cowie@dataflex.com Cowie
To: g.billoudet@arwen-tech.fr mailto:g.billoudet@arwen-tech.fr
Cc: serusers@lists.iptel.org mailto:serusers@lists.iptel.org
Sent: Monday, September 13, 2004 1:25 PM
Subject: RE: [Serusers] could not open module mysql.so
Gwen,
Where did you make the ln -s libmysqlclient.so.12 libmysqlclient.so.10?
I have the same problem - and have tried to link the old embedded reference but without success
Regards
Paul
-----Original Message----- From: g.billoudet@arwen-tech.fr mailto:g.billoudet@arwen-tech.fr [mailto:g.billoudet@arwen-tech.fr mailto:g.billoudet@arwen-tech.fr ] Sent: 10 September 2004 14:05 To: g.billoudet@arwen-tech.fr mailto:g.billoudet@arwen-tech.fr Cc: serusers@lists.iptel.org mailto:serusers@lists.iptel.org Subject: RE: [Serusers] could not open module mysql.so
I finally found the solution...
First, I don't know why but I had a strange link file (libmysqlclient.so.10) in my folder /usr/local/lib/ser/modules. I deleted it and then I got the following result of the command "ldd mysql.so" : linux-gate.so.1 => (0xffffe000) libmysqlclient.so.10 => /usr/lib/libmysqlclient.so.10 (0x40028000) libz.so.1 => /usr/lib/libz.so.1 (0x4005f000) libc.so.6 => /lib/tls/libc.so.6 (0x40070000) libcrypt.so.1 => /lib/libcrypt.so.1 (0x401b8000) libnsl.so.1 => /lib/libnsl.so.1 (0x401e5000) libm.so.6 => /lib/tls/libm.so.6 (0x401f8000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
Now, I have the same result than Zeus but I didn't have any /usr/lib/libmysqlclient.so.10...
When I installed the libmysql12, I obtained new files in /usr/lib/ (libmysqlclient.so.12 and some others). When SER try to load mysql.so, it looks for the library libmysqlclient.so.10 and obviously can't find it. So I made a link with the following command : ln -s libmysqlclient.so.12 libmysqlclient.so.10
And now, SER can load the mysql module !!
Thanks for your help Zeus !! Bye, Gwen
Hi Zeus and other serusers,
The mysql.so file is the one I got with SER.(ser-0.8.12_linux_i386.tar.gz,
mailto:g.billoudet@arwen-tech.fr ]
http://lists.iptel.org/mailman/listinfo/serusers
_______________________________________________ Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers http://lists.iptel.org/mailman/listinfo/serusers
************************************************************************** Disclaimer This email transmission is confidential and intended solely for the person or organisation to whom it is addressed. If you are not the intended recipient, you must not copy, distribute or disseminate the information, or take any action in reliance of it. Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of any organisation or employer. If you have received this message in error, do not open any attachment but please notify the sender (above) and delete this message from your system. Please rely on your own virus check. Although all outbound mail is checked for viruses, no responsibility is taken by the sender for any damage rising out of any bug or virus infection.
**************************************************************************
_____
_______________________________________________ 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
************************************************************************** Disclaimer This email transmission is confidential and intended solely for the person or organisation to whom it is addressed. If you are not the intended recipient, you must not copy, distribute or disseminate the information, or take any action in reliance of it. Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of any organisation or employer. If you have received this message in error, do not open any attachment but please notify the sender (above) and delete this message from your system. Please rely on your own virus check. Although all outbound mail is checked for viruses, no responsibility is taken by the sender for any damage rising out of any bug or virus infection. **************************************************************************