static linkage with libpq?

From: Christoph Dalitz <christoph(dot)dalitz(at)hs-niederrhein(dot)de>
To: PG Mailing List <pgsql-general(at)postgresql(dot)org>
Subject: static linkage with libpq?
Date: 2002-07-10 11:52:27
Message-ID: 20020710135227.5c06faa9.christoph.dalitz@hs-niederrhein.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello,

while I can link against libpq.so on my system (Debian 3.0, PG 7.2),
I cannot link against libpq.a. In the latter case I obtain errors like

/tmp/ccLM7BSR.o(.text+0x69): undefined reference to `PQsetdbLogin'

/usr/lib/libpq.a is installed and contains the following objects:

dalitz:[test]> ar t /usr/lib/libpq.a
fe-print.o
fe-lobj.o
fe-exec.o
fe-connect.o
fe-auth.o
md5.o
fe-misc.o
wchar.o
pqsignal.o
pqexpbuffer.o
encnames.o
dllist.o

Any ideas?

Christoph Dalitz

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Andreas Schlegel 2002-07-10 12:03:30 Flag for insentive use of Postgres?
Previous Message Jörg Schulz 2002-07-10 10:13:39 Re: update problem?