Hi Raghav, I have zlib, zlib-devel installed in my system.
There seems to be some problem with ".o" files. I tried to install after "make clean" and "make distclean" as well. I believe, there must be some options to be used with make. Thanks Venkat N On Thu, Aug 18, 2011 at 5:47 PM, Raghavendra < raghavendra....@enterprisedb.com> wrote: > I think you should also need 'zlib-devel', check with the rpm's list of > zlib in your OS. > > --- > Regards, > Raghavendra > EnterpriseDB Corporation > Blog: http://raghavt.blogspot.com/ > > > > On Thu, Aug 18, 2011 at 5:06 PM, Venkat Balaji <venkat.bal...@verse.in>wrote: > >> Hello Community, >> >> I am getting the following error when trying to install PG-9.0.1 - >> >> pg_backup_archiver.o: In function `SetOutput': >> pg_backup_archiver.c:(.text+0x2b6f): undefined reference to `gzopen64' >> pg_backup_files.o: In function `_StartBlob': >> pg_backup_files.c:(.text+0x50d): undefined reference to `gzopen64' >> pg_backup_files.o: In function `_StartData': >> pg_backup_files.c:(.text+0x5e0): undefined reference to `gzopen64' >> pg_backup_files.o: In function `_PrintFileData': >> pg_backup_files.c:(.text+0x9f6): undefined reference to `gzopen64' >> collect2: ld returned 1 exit status >> make[3]: *** [pg_dump] Error 1 >> make[3]: Leaving directory >> `/home/postgres/postgresql-9.0.1/src/bin/pg_dump' >> make[2]: *** [all] Error 2 >> make[2]: Leaving directory `/home/postgres/postgresql-9.0.1/src/bin' >> make[1]: *** [all] Error 2 >> make[1]: Leaving directory `/home/postgres/postgresql-9.0.1/src' >> make: *** [all] Error 2 >> >> Following is the operating system version - >> >> "[root@localhost postgresql-9.0.1]# uname -a >> Linux localhost.localdomain 2.6.18-164.el5PAE #1 SMP Thu Sep 3 04:10:44 >> EDT 2009 i686 i686 i386 GNU/Linux" >> >> We have successfully installed the same on other RHEL servers. >> >> Note : zlib-1.2.3, flex-2.5.35 are installed. >> >> Thanks >> Nag >> >> >