LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 11-05-2005, 11:56 PM   #1
elfoozo
Member
 
Registered: Feb 2004
Distribution: Debian Jessie
Posts: 261

Rep: Reputation: 32
dependency woes


I have a special need to run MySQL 3.23.58 and I want to use phpMyAdmin with it.

When I go to my page
http://localhost/phpMyAdmin/ it complains with:
cannot load mysql extension;
please check PHP configuration
Documentation


I read the documentation and it says:
To connect to a MySQL server, PHP needs a set of MySQL functions called "MySQL extension". This extension may be part of the PHP distribution (compiled-in), otherwise it needs to be loaded dynamically. Its name is probably mysql.so or php_mysql.dll. phpMyAdmin tried to load the extension but failed.

Usually, the problem is solved by installing a software package called "PHP-MySQL" or something similar.


So I try to apt-get install php4-mysql but that tells:
The following extra packages will be installed:
libmysqlclient14 mysql-common
The following NEW packages will be installed:
libmysqlclient14 mysql-common php4-mysql


Obviously I don't want mysql-common....

So I did
apt-get install php4-mysql --print-uris and then wget just the deb package for php4-mysql. Except when I dpkg -i php4-mysql_4.4.0-4_i386.deb... the system tells me:

dpkg: dependency problems prevent configuration of php4-mysql:
php4-mysql depends on libmysqlclient14; however:
Package libmysqlclient14 is not installed.
dpkg: error processing php4-mysql (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
php4-mysql


Then I apt-get remove php4-msql and try dpkg -i ./php4-mysql_4.4.0-4_i386.deb --force-yes the system still complains with:
Unpacking replacement php4-mysql ...
dpkg: error processing --force-yes (--install):
cannot access archive: No such file or directory
dpkg: dependency problems prevent configuration of php4-mysql:
php4-mysql depends on libmysqlclient14; however:
Package libmysqlclient14 is not installed.
dpkg: error processing php4-mysql (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
--force-yes
php4-mysql


I'm probably doing something really dumb since I'm fighting it all evening... but how the heck do you shove a package on to a system???? Praise Debian for saving me from myself, but all I want is that stinkin *.so file so my phpMyAdmin will launch. ha-ha!

Ideas?
 
Old 11-06-2005, 12:15 AM   #2
uberNUT69
Member
 
Registered: Jan 2005
Location: Tasmania
Distribution: Xen Debian Lenny/Sid
Posts: 578

Rep: Reputation: 30
Re: dependency woes

So I try to apt-get install php4-mysql but that tells:
The following extra packages will be installed:
libmysqlclient14 mysql-common
The following NEW packages will be installed:
libmysqlclient14 mysql-common php4-mysql


Obviously I don't want mysql-common....


Why not?
Isn't this the crux of your problem?
 
Old 11-06-2005, 12:33 AM   #3
elfoozo
Member
 
Registered: Feb 2004
Distribution: Debian Jessie
Posts: 261

Original Poster
Rep: Reputation: 32
Well since I have a special need to run MySQL 3.23.58 which I have compiled and installed from source(from mysql's site), I'm assuming that installing the package "mysql-common" will taint my 3.23.58 by putting newer (or different?) MySQL related files into my test system.

Is this not true?
 
Old 11-06-2005, 12:35 AM   #4
uberNUT69
Member
 
Registered: Jan 2005
Location: Tasmania
Distribution: Xen Debian Lenny/Sid
Posts: 578

Rep: Reputation: 30
In that case, perhaps you could install mysql-common to keep
PHP happy and then just overwrite it with your custom install?
 
Old 11-06-2005, 12:42 AM   #5
elfoozo
Member
 
Registered: Feb 2004
Distribution: Debian Jessie
Posts: 261

Original Poster
Rep: Reputation: 32
Yes, that's one way. But MySQL is already up and running so that'd be less desired.

Is there maybe a way to pull individual files out of a deb package?
 
Old 11-06-2005, 02:14 AM   #6
uberNUT69
Member
 
Registered: Jan 2005
Location: Tasmania
Distribution: Xen Debian Lenny/Sid
Posts: 578

Rep: Reputation: 30
http://www.phpmyadmin.net/documentation
shows:
MySQL 3.23.32 or newer

ref: http://www.phpmyadmin.net/documentat...qmysqlversions

I suggest you build your remaining requirements from source.
 
Old 11-06-2005, 09:57 AM   #7
elfoozo
Member
 
Registered: Feb 2004
Distribution: Debian Jessie
Posts: 261

Original Poster
Rep: Reputation: 32
3.23.58 is newer than 3.23.32.

I found a buddy with a similarly built Linux box so were going to install the needed packages on his box and rob the individual files as needed. If that doesn't work, I'll try the install mysql-common and then re-install MySQL over it from source.

Thanks for the suggestions.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
HELP: dependency woes kevingpo Fedora 8 11-04-2005 07:53 AM
gkrellm dependency woes moistTowelette Linux - Software 1 10-16-2005 07:42 PM
how to solve failed dependency when dependency exists dwcramer Linux - Newbie 2 08-24-2004 09:03 PM
Dependency woes Isaioux2x Linux - Software 1 02-03-2004 09:45 AM
c++ dependency tucolino Programming 1 01-01-2004 04:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 03:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration