Re: Darwin libpq link failing

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: ash <xpi(at)aeria(dot)net>
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: Darwin libpq link failing
Date: 2003-03-02 17:48:29
Message-ID: 18653.1046627309@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

ash <xpi(at)aeria(dot)net> writes:
> gcc -O -pipe -Wall -g -Dbugs -I/Users/xpi/tmpsrc/lib/mutilities -L/Users/xpi/tmpsrc/lib/mutilities -Dpthreads -Ddarwin -I/usr/local/pgsql/include -L/usr/local/pgsql/lib -lpq -lpq mutil.o maintest.c
> ld: Undefined symbols:
> _PQclear
> _PQerrorMessage
> _PQsetdbLogin

Surely the library reference must come after the files that reference
it.

regards, tom lane

In response to

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Tom Lane 2003-03-02 17:55:43 Re: perl dbd libraries keeping transactions open?
Previous Message Ciaran Carthy 2003-02-28 17:12:37 BDB like API