From: Aleksey Demakov <avd@avd.garsib.ru>
To: pgsql-interfaces@postgresql.org
Subject: Re: [INTERFACES] Pgaccess & Postgresql 6.3
Date: 23 Mar 1998 11:41:54 +0600
Message-ID: <86k99m6k0t.fsf@avd.garsib.ru> (raw)
References: <199803171248.NAA19966@linuxbox.ilrspa.com>
<19980322170759.41607@klemm.gtn.com>
Andreas Klemm <andreas@klemm.gtn.com> writes:
> BTW, additionally I had to load libpq explicitely before libpgtcl ...
I had a similar problem with libpq and libpgtcl under FreeBSD, but I
solved it differently.
I noticed that Makefile in the interfaces/libpgtcl directory in the
case of FreeBSD doesn't link libpgtcl against libpq. Hence I wrote this
patch. If your libpq is installed not in the /usr/local/libpq/lib, change
the patch accordingly.
inline patch 1: Makefile (+1/-1 lines) download inline-1.patch*** Makefile.old Mon Mar 23 10:58:16 1998
--- Makefile Fri Mar 20 14:03:49 1998
***************
*** 79,85 ****
$(RANLIB) libpgtcl.a
$(shlib): $(OBJS)
! $(LD) $(LDFLAGS_SL) -o $@ $(OBJS)
ln -sf $@ libpgtcl.so
.PHONY: beforeinstall-headers install-headers
--- 79,85 ----
$(RANLIB) libpgtcl.a
$(shlib): $(OBJS)
! $(LD) $(LDFLAGS_SL) -o $@ $(OBJS) -L /usr/local/pgsql/lib -lpq
ln -sf $@ libpgtcl.so
.PHONY: beforeinstall-headers install-headers
--
Aleksey Demakov
avd@avd.garsib.ru
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: avd@avd.garsib.ru
Subject: Re: [INTERFACES] Pgaccess & Postgresql 6.3
In-Reply-To: <86k99m6k0t.fsf@avd.garsib.ru>
* 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