Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-interfaces by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group