From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | "go(dot)dbms" <go(dot)dbms(at)gmail(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Error with compile source code on CentOS5.7 |
Date: | 2012-04-14 05:09:49 |
Message-ID: | 4918.1334380189@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
"go.dbms" <go(dot)dbms(at)gmail(dot)com> writes:
> 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.o pg_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_'
Hm, where'd that underscore come from? What PG is calling is gzgetc().
I suspect what you've got here is a mismatch between include files and
the actual zlib library. Check if you've got more than one version of
zlib installed.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | hamann.w | 2012-04-14 06:22:56 | Horizontal aggregation? |
Previous Message | go.dbms | 2012-04-14 04:46:34 | Error with compile source code on CentOS5.7 |