Re: ecpg build on AIX 4.2.1

From: Samuel A Horwitz <horwitz(at)argoscomp(dot)com>
To: Hans-Jürgen Schönig <postgres(at)cybertec(dot)at>
Cc: Michael Meskes <meskes(at)postgresql(dot)org>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: ecpg build on AIX 4.2.1
Date: 2003-09-24 13:49:49
Message-ID: Pine.A41.4.21.0309240949300.46710-100000@argos
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Are these patches going to be applied soon?

On Wed, 24 Sep 2003,
[ISO-8859-1] Hans-Jrgen Schnig wrote:

> Date: Wed, 24 Sep 2003 13:18:32 +0200
> From: "[ISO-8859-1] Hans-Jrgen Schnig" <postgres(at)cybertec(dot)at>
> To: Michael Meskes <meskes(at)postgresql(dot)org>
> Cc: Samuel A Horwitz <horwitz(at)argoscomp(dot)com>,
> PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
> Subject: Re: [HACKERS] ecpg build on AIX 4.2.1
>
> Michael Meskes wrote:
> > 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
>
>
> Correct.
> I had the same error on AIX 5.1 last week (see hackers' list).
> As far as 7.4beta is referred two additional patches are needed (see
> postings by Tom Lane on this topics).
>
> Adding the linker options will solve your problems and PostgreSQL will
> work nicely.
>
> Regards,
>
> Hans
>
>
> --
> Cybertec Geschwinde u Schoenig
> Ludo-Hartmannplatz 1/14, A-1160 Vienna, Austria
> Tel: +43/2952/30706; +43/660/816 40 77
> www.cybertec.at, www.postgresql.at, kernel.cybertec.at
>
>

horwitz(at)argoscomp(dot)com (Samuel A Horwitz)

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2003-09-24 14:01:09 Re: [HACKERS] osdl-dbt3 run results - puzzled by the execution
Previous Message brook 2003-09-24 13:49:33 creating/accessing new runtime parameters