Skip site navigation (1) Skip section navigation (2)

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 (view raw, whole thread or download thread mbox)
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

pgsql-interfaces by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2018 The PostgreSQL Global Development Group