Dependency conflict when installing php-mysql

Asked by Andrew Otto

Die PHP Erweiterung "pdo_mysql ist deaktiviert -

Die php_Einstellung "date.timeline" ist deaktiviert

wie kann ich es aktivieren ???

Question information

Language:
German (Germany) Edit question
Status:
Solved
For:
webtrees Edit question
Assignee:
No assignee Edit question
Solved by:
Andrew Otto
Solved:
Last query:
Last reply:
Revision history for this message
Arjen Lentz (arjen-lentz) said :
#1

From your output, I'm guessing that you haven't actually installed the client RPM from OurDelta. If you have server, client and shared installed, it'll be equivalent to the default packages with no conflicts or cross-dependencies.
Review this with
  rpm -qa | grep -i mysql

That other user you refer to has done something way more nasty even, they have installed both the regular and the Sail versions, somehow. That should definitely conflict. Very weird.

Revision history for this message
Andrew Otto (acotto) said :
#2

Perfect! Everything was fine except that I had not Installed OurDelta shared. Once I installed that, all was fine! Thanks for your help.

Revision history for this message
Andrew Otto (acotto) said :
#3

Hmm, or so I thought. I'm now trying to install php 5.2.29. The only pre-built RPM I've found is from the Remi Collet repository (http://rpms.famillecollet.com/). Everything expect for php-mysql installs just fine. php-mysql depends on mysql-libs, which apparently is not satisfied by the OurDelta build, at least not by Remi's RPM.

Is this a case of just a third party RPM conflicting, or is there something else simple that I am missing. Again, I've pasted the output of yum install below.

Thanks!

# yum install php-mysql
Loaded plugins: fastestmirror, protectbase
Loading mirror speeds from cached hostfile
 * rpmforge: apt.sw.be
 * base: mirror.clarkson.edu
 * updates: centos.mirror.nac.net
 * addons: mirrors.serveraxis.net
 * extras: centos-distro.cavecreek.net
0 packages excluded due to repository protections
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package php-mysql.i386 0:5.2.9-1.el5.remi set to be updated
--> Processing Dependency: libmysqlclient.so.16(libmysqlclient_16) for package: php-mysql
--> Processing Dependency: libmysqlclient.so.16 for package: php-mysql
--> Running transaction check
---> Package mysql-libs.i386 0:5.1.34-1.el5.remi set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

=========================================================================================================================================================================================================
 Package Arch Version Repository Size
=========================================================================================================================================================================================================
Installing:
 php-mysql i386 5.2.9-1.el5.remi remi-collet 84 k
Installing for dependencies:
 mysql-libs i386 5.1.34-1.el5.remi remi-collet 2.1 M

Transaction Summary
=========================================================================================================================================================================================================
Install 2 Package(s)
Update 0 Package(s)
Remove 0 Package(s)

Total size: 2.2 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test

Transaction Check Error:
  file /etc/my.cnf from install of mysql-libs-5.1.34-1.el5.remi.i386 conflicts with file from package MySQL-OurDelta-server-5.0.77.d8-54.el5.i386
  file /usr/share/mysql/charsets/Index.xml from install of mysql-libs-5.1.34-1.el5.remi.i386 conflicts with file from package MySQL-OurDelta-server-5.0.77.d8-54.el5.i386
  file /usr/share/mysql/charsets/cp1250.xml from install of mysql-libs-5.1.34-1.el5.remi.i386 conflicts with file from package MySQL-OurDelta-server-5.0.77.d8-54.el5.i386
  file /usr/share/mysql/czech/errmsg.sys from install of mysql-libs-5.1.34-1.el5.remi.i386 conflicts with file from package MySQL-OurDelta-server-5.0.77.d8-54.el5.i386
  file /usr/share/mysql/danish/errmsg.sys from install of mysql-libs-5.1.34-1.el5.remi.i386 conflicts with file from package MySQL-OurDelta-server-5.0.77.d8-54.el5.i386
  file /usr/share/mysql/dutch/errmsg.sys from install of mysql-libs-5.1.34-1.el5.remi.i386 conflicts with file from package MySQL-OurDelta-server-5.0.77.d8-54.el5.i386
  file /usr/share/mysql/english/errmsg.sys from install of mysql-libs-5.1.34-1.el5.remi.i386 conflicts with file from package MySQL-OurDelta-server-5.0.77.d8-54.el5.i386
  file /usr/share/mysql/estonian/errmsg.sys from install of mysql-libs-5.1.34-1.el5.remi.i386 conflicts with file from package MySQL-OurDelta-server-5.0.77.d8-54.el5.i386
  file /usr/share/mysql/french/errmsg.sys from install of mysql-libs-5.1.34-1.el5.remi.i386 conflicts with file from package MySQL-OurDelta-server-5.0.77.d8-54.el5.i386
  file /usr/share/mysql/german/errmsg.sys from install of mysql-libs-5.1.34-1.el5.remi.i386 conflicts with file from package MySQL-OurDelta-server-5.0.77.d8-54.el5.i386
  file /usr/share/mysql/greek/errmsg.sys from install of mysql-libs-5.1.34-1.el5.remi.i386 conflicts with file from package MySQL-OurDelta-server-5.0.77.d8-54.el5.i386
  file /usr/share/mysql/hungarian/errmsg.sys from install of mysql-libs-5.1.34-1.el5.remi.i386 conflicts with file from package MySQL-OurDelta-server-5.0.77.d8-54.el5.i386
  file /usr/share/mysql/italian/errmsg.sys from install of mysql-libs-5.1.34-1.el5.remi.i386 conflicts with file from package MySQL-OurDelta-server-5.0.77.d8-54.el5.i386
  file /usr/share/mysql/japanese/errmsg.sys from install of mysql-libs-5.1.34-1.el5.remi.i386 conflicts with file from package MySQL-OurDelta-server-5.0.77.d8-54.el5.i386
  file /usr/share/mysql/korean/errmsg.sys from install of mysql-libs-5.1.34-1.el5.remi.i386 conflicts with file from package MySQL-OurDelta-server-5.0.77.d8-54.el5.i386
  file /usr/share/mysql/norwegian-ny/errmsg.sys from install of mysql-libs-5.1.34-1.el5.remi.i386 conflicts with file from package MySQL-OurDelta-server-5.0.77.d8-54.el5.i386
  file /usr/share/mysql/norwegian/errmsg.sys from install of mysql-libs-5.1.34-1.el5.remi.i386 conflicts with file from package MySQL-OurDelta-server-5.0.77.d8-54.el5.i386
  file /usr/share/mysql/polish/errmsg.sys from install of mysql-libs-5.1.34-1.el5.remi.i386 conflicts with file from package MySQL-OurDelta-server-5.0.77.d8-54.el5.i386
  file /usr/share/mysql/portuguese/errmsg.sys from install of mysql-libs-5.1.34-1.el5.remi.i386 conflicts with file from package MySQL-OurDelta-server-5.0.77.d8-54.el5.i386
  file /usr/share/mysql/romanian/errmsg.sys from install of mysql-libs-5.1.34-1.el5.remi.i386 conflicts with file from package MySQL-OurDelta-server-5.0.77.d8-54.el5.i386
  file /usr/share/mysql/russian/errmsg.sys from install of mysql-libs-5.1.34-1.el5.remi.i386 conflicts with file from package MySQL-OurDelta-server-5.0.77.d8-54.el5.i386
  file /usr/share/mysql/serbian/errmsg.sys from install of mysql-libs-5.1.34-1.el5.remi.i386 conflicts with file from package MySQL-OurDelta-server-5.0.77.d8-54.el5.i386
  file /usr/share/mysql/slovak/errmsg.sys from install of mysql-libs-5.1.34-1.el5.remi.i386 conflicts with file from package MySQL-OurDelta-server-5.0.77.d8-54.el5.i386
  file /usr/share/mysql/spanish/errmsg.sys from install of mysql-libs-5.1.34-1.el5.remi.i386 conflicts with file from package MySQL-OurDelta-server-5.0.77.d8-54.el5.i386
  file /usr/share/mysql/swedish/errmsg.sys from install of mysql-libs-5.1.34-1.el5.remi.i386 conflicts with file from package MySQL-OurDelta-server-5.0.77.d8-54.el5.i386
  file /usr/share/mysql/ukrainian/errmsg.sys from install of mysql-libs-5.1.34-1.el5.remi.i386 conflicts with file from package MySQL-OurDelta-server-5.0.77.d8-54.el5.i386

Error Summary
-------------

Revision history for this message
Arjen Lentz (arjen-lentz) said :
#4

Hi Andrew

On 25/04/2009, at 2:13 AM, Andrew Otto wrote:
> Andrew Otto posted a new comment:
> Hmm, or so I thought. I'm now trying to install php 5.2.29. The only
> pre-built RPM I've found is from the Remi Collet repository
> (http://rpms.famillecollet.com/). Everything expect for php-mysql
> installs just fine. php-mysql depends on mysql-libs, which apparently
> is not satisfied by the OurDelta build, at least not by Remi's RPM.
>
> Is this a case of just a third party RPM conflicting, or is there
> something else simple that I am missing. Again, I've pasted the
> output
> of yum install below.

Remi has created a dependency on libmysqlclient.so.16 which is for
MySQL 5.1.34 which you're not running.
The OurDelta 5.0 packages (-shared) have .15

I'd suggest asking Remi to rebuild for libmysqlclient.so.15 for now,
otherwise more people will have this issue and not just with OurDelta.

Regards,
Arjen.
--
Arjen Lentz, Director @ Open Query (http://openquery.com)
Affordable Training and ProActive Support for MySQL & related
technologies

Follow our blog at http://openquery.com/blog/
OurDelta: free enhanced builds for MySQL @ http://ourdelta.org

Revision history for this message
Andrew Otto (acotto) said :
#5

I was able to install mysqlclient.so.16 from Remi's test repository as it's own RPM, without having to install mysql-libs.

Thanks so much for your help Arjen (also, say hi to Walter for me!)