Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Tips/Tricks/Mods

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 22nd September 2006, 20:00
cryptic cryptic is offline
Senior Member
 
Join Date: Sep 2006
Posts: 136
Thanks: 5
Thanked 2 Times in 2 Posts
Default CentOS 4 - Zlib upgrade HowTo

As there are quite a few people on here with CentOS boxes with an older zlib (1.2.1x), this quick and simple HowTO will show you how to create an rpm to upgrade zlib.

First, get gcc if you don't have it already:
'yum install gcc'

Next, you will need rpm-build:
'yum install rpm-build'

Now, grab the source rpm for zlib 1.2.3 from the Fedora 5 repos:
'wget ftp://chuck.ucs.indiana.edu/pub/array2/linux/fedora/linux/core/5/source/SRPMS/zlib-1.2.3-1.2.1.src.rpm'

Build the rpm with 'rpmbuild --rebuild zlib-1.2.3-1.2.1.src.rpm'

Now upgrade with the newly created rpms (zlib and zlib-devel):
'rpm -Uhv /usr/src/redhat/RPMS/i386/zlib-*1.2.3-1.2.1.i386.rpm'

Done.
# rpm -q zlib
zlib-1.2.3-1.2.1

Last edited by cryptic; 22nd September 2006 at 20:06.
Reply With Quote
Sponsored Links
 

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Upgrade CentOs 4.3 to 4.4 help? Herbert Installation/Configuration 2 18th September 2006 11:28
screwed up the upgrade provell Installation/Configuration 7 14th August 2006 13:33
can't upgrade zlib Centos 4.3 kernel 2.6.9-34.0.1.EL newzen Installation/Configuration 1 24th June 2006 13:48
Upgrade from 2.2.1 tot 2.2.2 howto? Herbert Installation/Configuration 3 5th May 2006 21:12
zlib upgraded, joomla says no zlib... cbakken Installation/Configuration 3 27th March 2006 14:49


All times are GMT +2. The time now is 06:31.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.