Problem: I am trying to update the php package PHP Version 5.1.6 on CentOS release 4.8 to get rid of a script error: "PHP Fatal error: Call to undefined function dom_import_simplexml"
while running yum update php I get the following
--> Running transaction check --> Processing Dependency: libt1.so.5 for package: php-gd --> Finished Dependency Resolution Error: Missing Dependency: libt1.so.5 is needed by package php-gd
I have searched on google and none of the solutions seem to work. Does anyone have any ideas?
Terry
Terry Hickey wrote on Fri, 21 Jan 2011 13:45:46 -0700:
I am trying to update the php package PHP Version 5.1.6 on CentOS release 4.8 to get rid of a script error:
4.8 doesn't have 5.1.6, it has php 4.
Kai
----- Original Message ----- From: "Kai Schaetzl" maillists@conactive.com To: centos@centos.org Sent: Friday, January 21, 2011 3:31 PM Subject: Re: [CentOS] Missing Dependency
Terry Hickey wrote on Fri, 21 Jan 2011 13:45:46 -0700:
I am trying to update the php package PHP Version 5.1.6 on CentOS release 4.8 to get rid of a script error:
4.8 doesn't have 5.1.6, it has php 4.
Kai
--
Well..... # php -v PHP 5.1.6 (cli) (built: Jul 31 2008 00:08:07) Copyright (c) 1997-2006 The PHP Group Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies
rpm -qa |grep php php-cli-5.1.6-3.el4s1.10 php-ldap-5.1.6-3.el4s1.10 php-pear-1.4.11-1.el4s1.1 php-mysql-5.1.6-3.el4s1.10 php-5.1.6-3.el4s1.10 php-pdo-5.1.6-3.el4s1.10 php-common-5.1.6-3.el4s1.10 php-gd-5.1.6-3.el4s1.10
and
# cat /etc/redhat-release CentOS release 4.8 (Final)
so, I ask again, How do I resolve the missing dependency.
Problem: I am trying to update the php package PHP Version 5.1.6 on CentOS release 4.8 to get rid of a script error: "PHP Fatal error: Call to undefined function dom_import_simplexml"
while running yum update php I get the following
--> Running transaction check --> Processing Dependency: libt1.so.5 for package: php-gd --> Finished Dependency Resolution Error: Missing Dependency: libt1.so.5 is needed by package php-gd
thanks, Terry
On Fri, Jan 21, 2011 at 03:38:43PM -0700, Terry Hickey wrote:
Well..... # php -v PHP 5.1.6 (cli) (built: Jul 31 2008 00:08:07) Copyright (c) 1997-2006 The PHP Group Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies
rpm -qa |grep php php-cli-5.1.6-3.el4s1.10 php-ldap-5.1.6-3.el4s1.10 php-pear-1.4.11-1.el4s1.1 php-mysql-5.1.6-3.el4s1.10 php-5.1.6-3.el4s1.10 php-pdo-5.1.6-3.el4s1.10 php-common-5.1.6-3.el4s1.10 php-gd-5.1.6-3.el4s1.10
afaik, that's from centosplus and there is no other version since upstream has EOL'ed it a long time ago https://rhn.redhat.com/errata/rhel-appstk-as-errata.html
If you are upgrading from another repository, you should ask them!
Tru
Terry Hickey wrote on Fri, 21 Jan 2011 15:38:43 -0700:
Well.....
no, not well. Think a moment when someone tells you something. CentOS 4 does *not* contain php 5. You installed PHP 5 from another repo, likely from centosplus. Maybe you have more repos enabled. Nobody knows because you didn't care to tell. Tell now. Also, as you ripped out a tiny part from the yum output that doesn't give much information either, not even the full versions of the packages that get processed. If you had looked at the centosplus repo you had noticed that the files there are from 2008 and exactly what you have already installed. So, to *what* are you upgrading? Obviously not to centos or centosplus-provided packages. Is it really that hard to provide background information when you ask for help?
Kai
At Fri, 21 Jan 2011 23:31:16 +0100 CentOS mailing list centos@centos.org wrote:
Terry Hickey wrote on Fri, 21 Jan 2011 13:45:46 -0700:
I am trying to update the php package PHP Version 5.1.6 on CentOS release 4.8 to get rid of a script error:
4.8 doesn't have 5.1.6, it has php 4.
The CentOSPlus repo for 4 has php 5.1.6:
sauron.deepsoft.com% ssh sharky.deepsoft.com rpm -q php php-5.1.6-3.el4s1.10 sauron.deepsoft.com% ssh sharky.deepsoft.com cat /etc/redhat-release CentOS release 4.8 (Final)
Kai
Robert Heller wrote on Sat, 22 Jan 2011 09:24:54 -0500:
4.8 doesn't have 5.1.6, it has php 4.
The CentOSPlus repo for 4 has php 5.1.6:
Still, 4.8 doesn't. Full stop.
Kai
On 01/22/2011 03:31 PM, Kai Schaetzl wrote:
Robert Heller wrote on Sat, 22 Jan 2011 09:24:54 -0500:
4.8 doesn't have 5.1.6, it has php 4.
The CentOSPlus repo for 4 has php 5.1.6:
Still, 4.8 doesn't. Full stop.
Quite an irrelevant point Kai, its shipped in the centosplus repo[1] and this is the centos list, making this the perfect place to bring up the issue.
- KB
[1] given that the el4-was is no longer supported upstream, as Tru already pointed out, perhaps a good time to look at closing that loop from our end as well
Karanbir Singh wrote on Sat, 22 Jan 2011 16:29:42 +0000:
Quite an irrelevant point Kai, its shipped in the centosplus repo[1] and this is the centos list, making this the perfect place to bring up the issue.
Karanbir, you are in the wrong thread. I didn't question the location for the topic, I questioned the quality of information.
Kai