PHP-GD-5.2 dependency issue

Support/Development for PHP
sackerman
Forum User
Forum User
Posts: 10
Joined: Tue Apr 07, 2009 12:32 pm

PHP-GD-5.2 dependency issue

Unread post by sackerman »

I am trying to install php-gd and I am getting a dependency error:
Error: Missing Dependency: libt1.so.5 is needed by package php-gd-5.2.11-1.el5.art.i386

as I understand it this should be resolved by 't1lib' and when I tried to install 't1lib' I get the following:
Package t1lib-5.1.2-2.el5.art.x86_64 already installed and latest version

So it 'appears' as if the dependency that I need is already there but php-gd-5.2.11 doesn't recognize it. What am I missing here?
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Re: PHP-GD-5.2 dependency issue

Unread post by scott »

Ive seen that happen before, any chance you've got the i386 version of php installed?
sackerman
Forum User
Forum User
Posts: 10
Joined: Tue Apr 07, 2009 12:32 pm

Re: PHP-GD-5.2 dependency issue

Unread post by sackerman »

Just checked and the package is 5.2.11-1.el5.art x86_64 (checked in webmin).
gnosis
New Forum User
New Forum User
Posts: 1
Joined: Thu Feb 11, 2010 1:43 pm

Re: PHP-GD-5.2 dependency issue

Unread post by gnosis »

I had this problem as well. When I tried to run

yum install php-gd

It couldn't seem to figure out the correct architecture and got hung up on the libt1.so.5 dependency for i386. The solution was to specify the arch in the command:

yum install php-gd.x86_64
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Re: PHP-GD-5.2 dependency issue

Unread post by scott »

Yeah that happens when youve got the mix of i386 and x86_64 packages. Its a yum thing, so theres nothing we can do from the repo side to address it.
Post Reply