Received: from relay.gcom.ru (Garant-Siberia-RadioNET.gcom.ru [194.84.180.33] (may be forged)) by hub.org (8.8.8/8.7.5) with ESMTP id AAA17503 for ; Mon, 23 Mar 1998 00:40:19 -0500 (EST) Received: from avd.garsib.ru (avd.garsib.ru [194.135.7.99]) by relay.gcom.ru (8.6.10/8.6.10) with ESMTP id LAA04718 for ; Mon, 23 Mar 1998 11:39:58 +0600 Received: (from avd@localhost) by avd.garsib.ru (8.8.7/8.8.7) id LAA00849; Mon, 23 Mar 1998 11:41:56 +0600 (NS) (envelope-from avd) To: pgsql-interfaces@postgresql.org Subject: Re: [INTERFACES] Pgaccess & Postgresql 6.3 References: <199803171248.NAA19966@linuxbox.ilrspa.com> <19980322170759.41607@klemm.gtn.com> From: Aleksey Demakov Date: 23 Mar 1998 11:41:54 +0600 In-Reply-To: Andreas Klemm's message of Sun, 22 Mar 1998 17:07:59 +0100 Message-ID: <86k99m6k0t.fsf@avd.garsib.ru> Lines: 36 X-Mailer: Gnus v5.3/Emacs 19.34 Andreas Klemm 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. *** 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