[Serusers] Problem starting SER with MYSQL

Andrey Kouprianov andrey.kouprianov at gmail.com
Tue Jul 25 06:08:04 CEST 2006


Hi,

libmysqlclient.so.x exist under /usr/local/lib/mysql/ in FreeBSD. I
have SER running on my FreeBSD 5.4 box now and I had this problem
before as well. What I did is just created a symbolic llink to
libmysqlcllient.so.10, named libmysqlclient.so.12 as in

# cd /usr/local/lib/mysql
# ln -s libmysqlclient.so.10 libmysqlclient.so.12

Though some ppl might discourage such a practice, it works well for me.

   Andrey.


On 7/24/06, Champike Munasinghe <champike at hotmail.com> wrote:
>
>
> Hi Josh,
>
> Thanks for the message, unfortunately, I dont have a ser/modules directory
> under /usr/lib.... all the modules are in /usr/local/lib/ser/modules ...
>
> Any other ideas? :)
>
> Cheers - CM
>
>
> ________________________________
> Date: Mon, 24 Jul 2006 10:49:39 -0400
> Subject: Re: [Serusers] Problem starting SER with MYSQL
> From: jlaroff at gmail.com
> To: champike at hotmail.com
>
> Try changing the path to the modules directory in ser.cfg to
> /usr/lib/ser/modules/
> This is where they are located on my fedora box.
>
> -Josh
>
> On 7/24/06 10:36 AM, "Champike Munasinghe" <champike at hotmail.com> wrote:
>
>
>
> Hi,
>
> I've downloaded and installed SER 0.9.6 on my Fedora Core system running
> MySQL 4.1.11-0.
>
> When I start SER without modifying the /usr/local/etc/ser/ser.cfg file, it
> starts normally. However, when I make the modifications to use MySQL for the
> database, following Dan Austin's HOWTO, I get the following error:
>
> Jul 24 15:09:45 sipgw ser: ERROR: load_module: could not open module
> </usr/local/lib/ser/modules/mysql.so>:
> libmysqlclient.so.12: cannot open shared object file: No such file or
> directory
> Jul 24 15:09:45 sipgw ser: parse error (28,13-14): failed to load module
>
> mysql.so does exist in the /usr/local/lib/ser/modules directory, but
> libmysqlclient.so.12 doesnt. I found libmysqlclient.so.14 in /usr/lib/mysql
> directory and tried creating a symbolic link called libmysqlclient.so.12 to
> that file, this didnt work. Also, I tried copying the so.14 file into
> /usr/local/lib/ser/modules as libmysqlclient.so.12, still got the same
> error.
>
> I tried searching the lists, but couldnt find any info that mentioned
> anything about this issue. Am I doing something really stupid here?
>
> Thanks for your help
>
> Cheers!! -CM
>
>
>
> ________________________________
> _______________________________________________
> Serusers mailing list
> Serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
>
>
>
> On 7/24/06 10:36 AM, "Champike Munasinghe" <champike at hotmail.com> wrote:
>
>
>
> Hi,
>
> I've downloaded and installed SER 0.9.6 on my Fedora Core system running
> MySQL 4.1.11-0.
>
> When I start SER without modifying the /usr/local/etc/ser/ser.cfg file, it
> starts normally. However, when I make the modifications to use MySQL for the
> database, following Dan Austin's HOWTO, I get the following error:
>
> Jul 24 15:09:45 sipgw ser: ERROR: load_module: could not open module
> </usr/local/lib/ser/modules/mysql.so>:
> libmysqlclient.so.12: cannot open shared object file: No such file or
> directory
> Jul 24 15:09:45 sipgw ser: parse error (28,13-14): failed to load module
>
> mysql.so does exist in the /usr/local/lib/ser/modules directory, but
> libmysqlclient.so.12 doesnt. I found libmysqlclient.so.14 in /usr/lib/mysql
> directory and tried creating a symbolic link called libmysqlclient.so.12 to
> that file, this didnt work. Also, I tried copying the so.14 file into
> /usr/local/lib/ser/modules as libmysqlclient.so.12, still got the same
> error.
>
> I tried searching the lists, but couldnt find any info that mentioned
> anything about this issue. Am I doing something really stupid here?
>
> Thanks for your help
>
> Cheers!! -CM
>
>
>
> ________________________________
> _______________________________________________
> Serusers mailing list
> Serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
>
>
>
> Hi,
>
> I've downloaded and installed SER 0.9.6 on my Fedora Core system running
> MySQL 4.1.11-0.
>
> When I start SER without modifying the /usr/local/etc/ser/ser.cfg file, it
> starts normally. However, when I make the modifications to use MySQL for the
> database, following Dan Austin's HOWTO, I get the following error:
>
> Jul 24 15:09:45 sipgw ser: ERROR: load_module: could not open module
> </usr/local/lib/ser/modules/mysql.so>:
> libmysqlclient.so.12: cannot open shared object file: No such file or
> directory
> Jul 24 15:09:45 sipgw ser: parse error (28,13-14): failed to load module
>
> mysql.so does exist in the /usr/local/lib/ser/modules directory, but
> libmysqlclient.so.12 doesnt. I found libmysqlclient.so.14 in /usr/lib/mysql
> directory and tried creating a symbolic link called libmysqlclient.so.12 to
> that file, this didnt work. Also, I tried copying the so.14 file into
> /usr/local/lib/ser/modules as libmysqlclient.so.12, still got the same
> error.
>
> I tried searching the lists, but couldnt find any info that mentioned
> anything about this issue. Am I doing something really stupid here?
>
> Thanks for your help
>
> Cheers!! -CM
>
>
>
> ________________________________
> _______________________________________________
> Serusers mailing list
> Serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
>
>
> _______________________________________________
> Serusers mailing list
> Serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
>
>
>



More information about the sr-users mailing list