pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: ash <xpi@aeria.net>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: Darwin libpq link failing
Date: Sun, 02 Mar 2003 12:48:29 -0500
Message-ID: <18653.1046627309@sss.pgh.pa.us> (raw)
In-Reply-To: <200302270440.h1R4et0S004627@ed.cdbed1.client.atlantech.net>
References: <200302270440.h1R4et0S004627@ed.cdbed1.client.atlantech.net>

ash <xpi@aeria.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



view thread (3+ messages)  latest in thread

Message-ID: <18653.1046627309@sss.pgh.pa.us>
Permalink:  ../18653.1046627309@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/18653.1046627309@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: tgl@sss.pgh.pa.us, xpi@aeria.net
  Subject: Re: Darwin libpq link failing
  In-Reply-To: <18653.1046627309@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox