Re: ecpg build on AIX 4.2.1

From: Michael Meskes <meskes(at)postgresql(dot)org>
To: Samuel A Horwitz <horwitz(at)argoscomp(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: ecpg build on AIX 4.2.1
Date: 2003-09-24 07:51:13
Message-ID: 20030924075113.GB633@feivel.fam-meskes.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Sep 23, 2003 at 04:21:10PM -0400, Samuel A Horwitz wrote:
> I am getting Undefined symbols in build ecpg
>...
> ld: 0711-317 ERROR: Undefined symbol: .PQfinish
> ld: 0711-317 ERROR: Undefined symbol: .PQexec
> ld: 0711-317 ERROR: Undefined symbol: .PQclear
> ld: 0711-317 ERROR: Undefined symbol: .PQresultErrorField
> ld: 0711-317 ERROR: Undefined symbol: .PQsetdbLogin
> ld: 0711-317 ERROR: Undefined symbol: .PQstatus
> ld: 0711-317 ERROR: Undefined symbol: .PQsetNoticeReceiver
> ld: 0711-317 ERROR: Undefined symbol: .PQerrorMessage
> ld: 0711-317 ERROR: Undefined symbol: .last_path_separator
> collect2: ld returned 8 exit status
> gmake[4]: *** [libecpg_compat.so] Error 1
> gmake[4]: Leaving directory `/usr/local/postgres/pgsql/src/interfaces/ecpg/compatlib'

Looks like a missing "-lpq" but i wonder why you get it in compatlib. No
libpq function is called there directly.

Michael
--
Michael Meskes
Email: Michael at Fam-Meskes dot De
ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: meskes(at)jabber(dot)org
Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Hornyak Laszlo 2003-09-24 08:00:12 Re: postgres 6.2 vacuum
Previous Message Hu Tian-Lei 2003-09-24 05:22:07 Re: A multi CUP performance problem