Please run the following commands in your source code.

cd modules/db_mysql
make proper
make
cd -

And send over the output.

Best regards,

Răzvan Crainea
OpenSIPS Developer
www.opensips-solutions.com

On 12/20/2017 09:56 AM, Ketan Kothari wrote:
Hello Ravan,

Thanks for your reply.
I have installed opensips using source also tried to update mariadb-devel but it is in latest version.


On Tue, Dec 19, 2017 at 9:20 PM, Răzvan Crainea <raz...@opensips.org <mailto:raz...@opensips.org>> wrote:

    Hi, Ketan!

    How did you install your opensips? Did you try to update the
    mysql-devel/mariadb-devel package?

    Best regards,

    Răzvan Crainea
    OpenSIPS Developer
    www.opensips-solutions.com <http://www.opensips-solutions.com>

    On 12/19/2017 05:32 PM, Ketan Kothari wrote:
    Hello Guys,

    *ERROR* :#opensips
    Dec 19 16:29:56 [15058] ERROR:core:sr_load_module: could not open
    module </usr/lib64/opensips/modules/db_mysql.so>:
    libmysqlclient.so.20: cannot open shared object file: No such
    file or directory
    Dec 19 16:29:56 [15058] ERROR:core:load_module: failed to load module
    Dec 19 16:29:56 [15058] CRITICAL:core:yyerror: parse error in
    config file /usr/local//etc/opensips/opensips.cfg, line 36,
    column 13-14: failed to load module db_mysql.so

    Dec 19 16:29:56 [15058] ERROR:core:main: bad config file (1 errors)
    Dec 19 16:29:56 [15058] NOTICE:core:main: Exiting....


    [root@opensips_2_2]#*find / -name db_mysql.so*
    /usr/lib64/opensips/modules/db_mysql.so
    /usr/local/lib64/opensips/modules/db_mysql.so
    /usr/src/opensips_2_2/modules/db_mysql/db_mysql.so

    [root@opensips_2_2]# *locate libmysqlclient*
    /usr/lib64/libmysqlclient.a
    /usr/lib64/libmysqlclient.so
    /usr/lib64/libmysqlclient.so.18
    /usr/lib64/libmysqlclient.so.18.0.0
    /usr/lib64/libmysqlclient_r.a
    /usr/lib64/libmysqlclient_r.so
    /usr/lib64/libmysqlclient_r.so.18
    /usr/lib64/libmysqlclient_r.so.18.0.0

    Server :*CentOS Linux release 7.4.1708 (Core)*
    Mariadb Server version: *5.5.56-MariaDB MariaDB Server*


    _______________________________________________
    Users mailing list
    Users@lists.opensips.org <mailto:Users@lists.opensips.org>
    http://lists.opensips.org/cgi-bin/mailman/listinfo/users
    <http://lists.opensips.org/cgi-bin/mailman/listinfo/users>


    _______________________________________________
    Users mailing list
    Users@lists.opensips.org <mailto:Users@lists.opensips.org>
    http://lists.opensips.org/cgi-bin/mailman/listinfo/users
    <http://lists.opensips.org/cgi-bin/mailman/listinfo/users>




_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to