how can I upgrade to GD2 on RHEL3?

General Discussion of atomic repo and development projects.

Ask for help here with anything else not covered by other forums.
acidbox
Forum User
Forum User
Posts: 75
Joined: Sat Aug 27, 2005 12:27 pm

how can I upgrade to GD2 on RHEL3?

Unread post by acidbox »

I'm running RHEL3 and I'm trying to upgrade my GD Library to gd2 for a non-PHP related project.

rpm -q gd
gd-1.8.4-12.3.1
I downloaded some newer GD library packages here and tried to install them:

rpm -Uvh *.rpm
error: Failed dependencies:
libgd.so.1.8 is needed by (installed) webalizer-2.01_10-15.ent
libgd.so.1.8 is needed by (installed) glibc-utils-2.3.2-95.37
So here I am, trying to figure out the best way to resolve these deps. I looked high and low for an RPM upgrade to glibc, but there is nothing for EL3. I saw some posts talking about updating to gd2 by upgrading the php-gd package. I checked my current php installation:

rpm -qa | grep php-
php-imap-4.4.1-1.rhel3.art
php-xmlrpc-4.4.1-1.rhel3.art
php-pear-4.4.1-1.rhel3.art
php-mcrypt-4.4.1-1.rhel3.art
php-4.4.1-1.rhel3.art
php-devel-4.4.1-1.rhel3.art
php-mbstring-4.4.1-1.rhel3.art
php-ldap-4.4.1-1.rhel3.art
php-domxml-4.4.1-1.rhel3.art
php-mhash-4.4.1-1.rhel3.art
php-pgsql-4.4.1-1.rhel3.art
php-odbc-4.4.1-1.rhel3.art
php-mysql-4.4.1-1.rhel3.art
php-snmp-4.4.1-1.rhel3.art
I tried to install php-gd from yum:
yum install php-gd
Nothing to do
So apparantly the ART packages don't contain a php-gd package, so I wrote that off, or at least with my version.

So my question is how can I upgrade to GD2 for a non-php related project without breaking webalizer and more importantly, glibc?

Thanks in advance!
Later,

acidbox

Plesk 7.5.4 RHEL3
breun
Long Time Forum Regular
Long Time Forum Regular
Posts: 2813
Joined: Sat Aug 20, 2005 9:30 am
Location: The Netherlands

Unread post by breun »

GD support is built into ART's main php package. I see CentOS 3.6 also has GD 1.8, so I guess RHEL3 also doesn't have GD 2.x in its repositories.

You'll either have to upgrade to RHEL4 or decide to go with the package from ATrpms you found (or install from source or roll your own rpm or ...). Don't just grab the GD package, but add ATrpms to your list of update channels and let your package manager resolve dependencies for you.
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

I think your only course here is to install your GD library into some other directory (/opt/, /usr/local, etc) and recomiple your application to directly link to gd located in another part of the OS.
acidbox
Forum User
Forum User
Posts: 75
Joined: Sat Aug 27, 2005 12:27 pm

Unread post by acidbox »

scott wrote:I think your only course here is to install your GD library into some other directory (/opt/, /usr/local, etc) and recomiple your application to directly link to gd located in another part of the OS.
That's what I did. I installed it from the source (i hate doing that) but it worked.

Thanks
Later,

acidbox

Plesk 7.5.4 RHEL3
Post Reply