
22nd September 2006, 21:00
|
|
Senior Member
|
|
Join Date: Sep 2006
Posts: 120
Thanks: 2
Thanked 2 Times in 2 Posts
|
|
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 21:06.
|

23rd September 2006, 15:25
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 19,812
Thanks: 285
Thanked 1,805 Times in 1,357 Posts
|
|
Thanks for the howto. I moved your post to the Tips & Tricks forum
|

25th October 2006, 18:08
|
|
Junior Member
|
|
Join Date: Oct 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hello,
wget without option doesn't work... I must use the option: --passive-ftp
Perhaps it could help somebody...
|

26th October 2006, 01:00
|
|
Senior Member
|
|
Join Date: Sep 2006
Posts: 120
Thanks: 2
Thanked 2 Times in 2 Posts
|
|
Thanks for the info edouardj, but I still can just "wget $file" without issue.
This is with GNU wget v1.10.2
|

26th October 2006, 10:32
|
|
Junior Member
|
|
Join Date: Oct 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
GNU wget v 1.10.2 with centos 4.4 Final (uptodate) ...
but I live in France... Bye
|

26th October 2006, 13:46
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,853
Thanks: 781
Thanked 1,558 Times in 1,477 Posts
|
|
Quote:
|
Originally Posted by edouardj
Hello,
wget without option doesn't work... I must use the option: --passive-ftp
Perhaps it could help somebody...
|
This is caused by your firewall. For some people (with another firewall) it works without --passive-ftp, and some others have to use it.
|

2nd May 2008, 21:27
|
|
Junior Member
|
|
Join Date: May 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Sorry to bring this topic back up, but while it was asked, I have another question about zlib.
Does anyone know if zlib 1.1.4 has a limitation of 2GB? The company I'm with handing me this 10year old code and says that zlib may have a 2GB limit.. I've searched all over and the newest version I know has a 4GB depending on how it's compiled. But can't find anything on the older version.
|

3rd May 2008, 22:14
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,853
Thanks: 781
Thanked 1,558 Times in 1,477 Posts
|
|
I'm not sure, but the problem might as well be caused by using a 32bit system.
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 15:55.
|
Recent comments
2 hours 18 min ago
8 hours 6 min ago
9 hours 58 min ago
11 hours 42 min ago
15 hours 33 min ago
21 hours 18 min ago
21 hours 29 min ago
1 day 1 hour ago
1 day 7 hours ago
1 day 12 hours ago