Re: [INTERFACES] Pgaccess & Postgresql 6.3

Поиск
Список
Период
Сортировка
От Aleksey Demakov
Тема Re: [INTERFACES] Pgaccess & Postgresql 6.3
Дата
Msg-id 86k99m6k0t.fsf@avd.garsib.ru
обсуждение исходный текст
Ответ на Re: [INTERFACES] Pgaccess & Postgresql 6.3  (Carlo Vitolo <carlo@ilr.it>)
Список pgsql-interfaces
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.


*** 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

В списке pgsql-interfaces по дате отправления:

Предыдущее
От: The Hermit Hacker
Дата:
Сообщение: Re: problems running pgaccess 0.73 and 0.84 with new postgresql 6.3
Следующее
От: Andreas Klemm
Дата:
Сообщение: Re: problems running pgaccess 0.73 and 0.84 with new postgresql 6.3