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: (view raw, whole thread or download thread mbox)
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

			regards, tom lane

In response to


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-2017 The PostgreSQL Global Development Group