Re: [INTERFACES] Pgaccess & Postgresql 6.3

From: Aleksey Demakov <avd(at)avd(dot)garsib(dot)ru>
To: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: [INTERFACES] Pgaccess & Postgresql 6.3
Date: 1998-03-23 05:41:54
Message-ID: 86k99m6k0t.fsf@avd.garsib.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

Andreas Klemm <andreas(at)klemm(dot)gtn(dot)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.

*** 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(at)avd(dot)garsib(dot)ru

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message The Hermit Hacker 1998-03-23 13:13:38 Re: problems running pgaccess 0.73 and 0.84 with new postgresql 6.3
Previous Message Andreas Klemm 1998-03-22 21:43:25 Re: problems running pgaccess 0.73 and 0.84 with new postgresql 6.3