[MDEV-2426] LP:1036675 - DELETE ME Created: 2012-08-14  Updated: 2012-10-04  Resolved: 2012-10-04

Status: Closed
Project: MariaDB Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: nicolaasuni (Inactive) Assignee: Unassigned
Resolution: Not a Bug Votes: 0
Labels: Launchpad

Attachments: XML File LPexportBug1036675.xml    

 Description   

Please remove this bug. there was an error on the repository.



 Comments   
Comment by nicolaasuni (Inactive) [ 2012-08-14 ]

Failed dependency of php-mysql with libmysqlclient.so.16 on CentOS 6
I am unable to install php-mysql on CentOS 6 after installing MariaDB.
This means that I am unable to use PHP with MariaDB.

My system is an updated CentOS 6 Linux 2.6.32-279.2.1.el6.x86_64 #1 SMP Fri Jul 20 01:55:29 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

Steps to reproduce:

Import the MariaDB key:

rpm --import http://yum.mariadb.org/RPM-GPG-KEY-MariaDB

Ad the MariaDB repository:

vim /etc/yum.repos.d/MariaDB.repo

edit the file:

[mariadb]
name = MariaDB
baseurl = http://yum.mariadb.org/5.5/centos6-x86
gpgcheck=1

Remove any previous MySQL and MAriaDB packages:

yum -y remove mysql*
yum -y remove MariaDB*

Install all available MariaDB packages:

yum -y install MariaBD*

Installed:
MariaDB-client.i686 0:5.5.25-1
MariaDB-common.i686 0:5.5.25-1
MariaDB-compat.i686 0:5.5.25-1
MariaDB-devel.i686 0:5.5.25-1
MariaDB-server.i686 0:5.5.25-1
MariaDB-shared.i686 0:5.5.25-1
MariaDB-test.i686 0:5.5.25-1

Trying to install php-mysql (required to use MariaDB with PHP):

yum -y install php-mysql

I get the error:

Error: Package: php-mysql-5.3.3-14.el6_3.x86_64 (updates)
Requires: libmysqlclient.so.16(libmysqlclient_16)(64bit)
Available: mysql-libs-5.1.61-4.el6.x86_64 (base)
libmysqlclient.so.16(libmysqlclient_16)(64bit)

the file libmysqlclient.so.16 is present in /usr/lib as a link to libmysqlclient.so.16.0.0 :

  1. ls -lah /usr/lib/libmysqlclient.so.16*

lrwxrwxrwx 1 root root 24 Aug 14 14:55 /usr/lib/libmysqlclient.so.16 -> libmysqlclient.so.16.0.0
-rwxr-xr-x 1 root root 2.0M Jun 22 01:49 /usr/lib/libmysqlclient.so.16.0.0

I searched online but I haven't found any solution to this problem.

Comment by Rasmus Johansson (Inactive) [ 2012-08-14 ]

Launchpad bug id: 1036675

Generated at Thu Feb 08 06:41:46 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.