Re: postgresql 8.2 Installation error at "gmake"

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: emilu(at)encs(dot)concordia(dot)ca
Cc: alvherre(at)commandprompt(dot)com, pgsql-general(at)postgresql(dot)org
Subject: Re: postgresql 8.2 Installation error at "gmake"
Date: 2007-02-16 00:24:19
Message-ID: 5071.1171585459@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Emi Lu <emilu(at)encs(dot)concordia(dot)ca> writes:
>> Do you happen to have a previous installation at /local/postgresql? I
>> think the presence of an older libpgport.a there could be causing the
>> confusion.

> (1) \rm -r /local/postgresql

> gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wendif-labels -fno-strict-aliasing zic.o ialloc.o scheck.o localtime.o -L../../src/port -Wl,-rpath,'/local/postgresql/lib' -lpgport -lcrypt -ldl -lm -o zic
> zic.o(.text+0xb5f): In function `associate':
> zic.c: undefined reference to `pg_qsort'
> zic.o(.text+0x2c54): In function `writezone':
> zic.c: undefined reference to `pg_qsort'
> collect2: ld returned 1 exit status

Still, I think Alvaro must be right: somehow the link is picking up an
older version of libpgport. Maybe there's one in /usr/lib or
/usr/local/lib?

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Casey Duncan 2007-02-16 00:38:56 Re: Where art thou pg_clog?
Previous Message Chad Wagner 2007-02-16 00:12:28 Re: Option to undo last update on table.