[OpenSIPS-Users] You have enabled the 'db_mysql' module, so please install ' development libraries of mysql-client

Danny Dias ing.diasdanny at gmail.com
Tue Aug 27 21:20:16 CEST 2013


Hi,

I did install the package:

centalt-release-6-1.noarch.rpm
<http://centos.alt.ru/repository/centos/6/x86_64/centalt-release-6-1.noarch.rpm>
 (It's the only package available on the link provided)

I'm using CentOS 6.4

When i try to install mysql-client, it shows me some dependencies errors:

Error: Package: mariadb-server-5.5.32-2.el6.i686 (CentALT)
> Requires: libprotobuf-lite.so.6
> Error: Package: mysql-connector-odbc-5.1.5r1144-7.el6.i686 (@base)
> Requires: libmysqlclient_r.so.16(libmysqlclient_16)
> Removing: mysql-libs-5.1.69-1.el6_4.i686 (@updates)
> libmysqlclient_r.so.16(libmysqlclient_16)
> Obsoleted By: mariadb-libs-5.5.32-2.el6.i686 (CentALT)
> Not found
> Available: mysql-libs-5.1.66-2.el6_3.i686 (base)
> libmysqlclient_r.so.16(libmysqlclient_16)
> Available: mysql-libs-5.1.67-1.el6_3.i686 (updates)
> libmysqlclient_r.so.16(libmysqlclient_16)
> Available: mysql-libs-5.5.29-1.el6.i686 (CentALT)
> Not found
> Error: Package: mysql-connector-odbc-5.1.5r1144-7.el6.i686 (@base)
> Requires: libmysqlclient_r.so.16
> Removing: mysql-libs-5.1.69-1.el6_4.i686 (@updates)
> libmysqlclient_r.so.16
> Obsoleted By: mariadb-libs-5.5.32-2.el6.i686 (CentALT)
> Not found
> Available: mysql-libs-5.1.66-2.el6_3.i686 (base)
> libmysqlclient_r.so.16
> Available: mysql-libs-5.1.67-1.el6_3.i686 (updates)
> libmysqlclient_r.so.16
> Available: mysql-libs-5.5.29-1.el6.i686 (CentALT)
> Not found
> Error: Package: mariadb-server-5.5.32-2.el6.i686 (CentALT)
> Requires: libJudy.so.1
> You could try using --skip-broken to work around the problem
> You could try running: rpm -Va --nofiles --nodigest


Any ideas?

Then, i tried like this:

yum install mysql-client --skip-broken


And it did install only "exim" packages, see the following:

Total download size: 1.2 M
> Installed size: 3.8 M
> Is this ok [y/N]: y
> Downloading Packages:
> exim-4.80.1-1.el6.i686.rpm
>                                               | 1.2 MB     00:01
> Running rpm_check_debug
> Running Transaction Test
> Transaction Test Succeeded
> Running Transaction
> Warning: RPMDB altered outside of yum.
>   Installing : exim-4.80.1-1.el6.i686
>                                                                   1/1
>   Verifying  : exim-4.80.1-1.el6.i686
>                                                                   1/1
> Dependency Installed:
>   exim.i686 0:4.80.1-1.el6
>
> Skipped (dependency problems):
>   MySQL-python.i686 2:1.2.3-0.3.c1.2.el6           fontconfig.i686
> 0:2.8.0-3.el6                   freetype.i686 0:2.3.11-14.el6_3.1
>   gd.i686 0:2.0.35-11.el6                          libX11.i686
> 0:1.5.0-4.el6                       libX11-common.noarch 0:1.5.0-4.el6
>
>   libXau.i686 0:1.0.6-4.el6                        libXpm.i686
> 0:3.5.10-2.el6                      libevent.i686 0:1.4.13-4.el6
>
>   libjpeg-turbo.i686 0:1.2.1-1.el6                 libpng.i686
> 2:1.2.49-1.el6_2                    libxcb.i686 0:1.8.1-1.el6
>
>   mariadb.i686 0:5.5.32-2.el6                      mariadb-bench.i686
> 0:5.5.32-2.el6               mariadb-devel.i686 0:5.5.32-2.el6
>   mariadb-libs.i686 0:5.5.32-2.el6                 mariadb-server.i686
> 0:5.5.32-2.el6              mysql-libs.i686 0:5.5.29-1.el6
>   mysql-server.i686 0:5.5.29-1.el6                 perl-DBD-MySQL.i686
> 0:4.020-1.el6               perl-GD.i686 0:2.44-3.el6
>   postfix.i686 2:2.10.0-1.el6                      postgresql-libs.i686
> 0:8.4.13-1.el6_3
> Complete!


If i check mysql packages installed on my system, this is what i have (no
mysql-client):

Failed to set locale, defaulting to C
> mysql.i686            5.1.69-1.el6_4      @updates
>
> mysql-bench.i686      5.1.69-1.el6_4      @updates
>
> mysql-connector-odbc.i686
> mysql-devel.i686      5.1.69-1.el6_4      @updates
>
> mysql-libs.i686       5.1.69-1.el6_4      @updates
>
> mysql-server.i686     5.1.69-1.el6_4      @updates
>

Any ideas please?

Thanks so much


2013/8/27 sami at yahoo.com <samiramhosseini at yahoo.com>

> Hi,
> You have to install mysql-client to meet db-mysql requirements, so
> Please issue the follwoing command:
> yum install mysql-client
>
>
> Regard
> Sami
>
>   ------------------------------
>  *From:* Danny Dias <ing.diasdanny at gmail.com>
> *To:* OpenSIPS users mailling list <users at lists.opensips.org>
> *Sent:* Tuesday, 27 August 2013, 10:23:33
> *Subject:* [OpenSIPS-Users] You have enabled the 'db_mysql' module, so
> please install ' development libraries of mysql-client
>
> Hi,
>
> I'm having this weird message on menuconfig of OpenSIPS 1.8 on my CentOS
> 6.4:
>
> You have enabled the 'db_mysql' module, so please install ' development
> libraries of mysql-client , tipically libmysqlclient-dev' Press any key to
> continue
>
>
> Following the mysql packages installed on my system:
>
> [root at li278-128 1.8]# yum list installed | grep mysql
> Failed to set locale, defaulting to C
> mysql.i686            5.1.69-1.el6_4      @updates
>
> mysql-devel.i686      5.1.69-1.el6_4      @updates
>
> mysql-libs.i686       5.1.69-1.el6_4      @updates
>
> mysql-server.i686     5.1.69-1.el6_4      @updates
>
>
> Am i missing something?
>
> Thanks so much
>
> --
> *SIP:* danny at voice.danntel.net <http://www.danntel.net/?page_id=189>
> *Web: *http://www.danntel.net
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>


-- 
*SIP:* danny at voice.danntel.net <http://www.danntel.net/?page_id=189>
*Web: *http://www.danntel.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20130827/ac8870dc/attachment-0001.htm>


More information about the Users mailing list