Page 1 of 1

PHP-GD-5.2 dependency issue

Posted: Thu Oct 01, 2009 6:47 pm
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?

Re: PHP-GD-5.2 dependency issue

Posted: Fri Oct 02, 2009 7:05 am
by scott
Ive seen that happen before, any chance you've got the i386 version of php installed?

Re: PHP-GD-5.2 dependency issue

Posted: Fri Oct 02, 2009 7:36 am
by sackerman
Just checked and the package is 5.2.11-1.el5.art x86_64 (checked in webmin).

Re: PHP-GD-5.2 dependency issue

Posted: Thu Feb 11, 2010 2:53 pm
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

Re: PHP-GD-5.2 dependency issue

Posted: Thu Feb 11, 2010 4:42 pm
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.