Error with compile source code on CentOS5.7 - Mailing list pgsql-general

From go.dbms
Subject Error with compile source code on CentOS5.7
Date
Msg-id 20120414134634.57c91e33.go.dbms@gmail.com
Whole thread Raw
Responses Re: Error with compile source code on CentOS5.7  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Hi, all

I have some errors when I compiling PostgreSQL9.1.3's source code (9.1.2 is also same as) on CentOS5.7(x86_64).
The above are detail infomations.

--
$ uname -a
Linux centos57 2.6.18-274.el5 #1 SMP Fri Jul 22 04:43:29 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux

$ make
make -C src all
:
:
:
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wformat-security
-fno-strict-aliasing-fwrapv pg_dump.o common.o pg_dump_sort.o keywords.o kwlookup.o pg_backup_archiver.o pg_backup_db.o
pg_backup_custom.opg_backup_files.o pg_backup_null.o pg_backup_tar.o pg_backup_directory.o dumputils.o compress_io.o
-L../../../src/port-lpgport -L../../../src/interfaces/libpq -lpq -L../../../src/port
-Wl,-rpath,'/usr/local/pgsql913/lib',--enable-new-dtags -lpgport -lz -lreadline -ltermcap -lcrypt -ldl -lm  -o pg_dump 
compress_io.o: In function `cfgetc':
compress_io.c:(.text+0xf5): undefined reference to `gzgetc_'
--

Could someone guide me in the right direction on how to solve this problem?

Thanks
--
go.dbms <go.dbms@gmail.com>

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Tab completion not working on OSX Lion (10.7.3)
Next
From: Tom Lane
Date:
Subject: Re: Error with compile source code on CentOS5.7