Re: Bug PgSQL Symbol umoddi hpux (fwd)

Поиск
Список
Период
Сортировка
От Heiko Lehmann
Тема Re: Bug PgSQL Symbol umoddi hpux (fwd)
Дата
Msg-id Pine.LNX.4.21.0302141228530.1442-200000@lukas.fh-lausitz.de
обсуждение исходный текст
Ответ на Re: Bug PgSQL Symbol umoddi hpux (fwd)  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-ports
On Thu, 13 Feb 2003, Tom Lane wrote:

> [ looks at code ... ]  Ah.  You would also need to add -lgcc to this
> step in src/interfaces/libpq/Makefile
>
> # Add libraries that libpq depends (or might depend) on into the
> # shared library link.  (The order in which you list them here doesn't
> # matter.)
> SHLIB_LINK += $(filter -lcrypt -ldes -lkrb -lcom_err -lcrypto -lk5crypto -lkrb5 -lssl -lsocket -lnsl -lresolv -lintl,
$(LIBS))
>
>             regards, tom lane
>
Heureka!

Now the error message is no longer present.

- Summary:
---%<---
## src/interfaces/libpq/Makefile patchen (kann vor configure erfolgen)
cat ../postgresql-7.3.2.patch-libpq-lgcc | patch -p1  ## no "-p 1"
## Variable LDFLAGS LIBS vorbelegen
libgcc_libpath=`gcc --print-libgcc-file-name|sed 's%/*[^/][^/]*$%%'`
LDFLAGS="-L$libgcc_libpath" LIBS="-lgcc" \
 ./configure $OPTIONS | tee -a configure.out
gmake clean && gmake && gmake install
---%<---

- print Symbol:
---%<---
# nm ./src/interfaces/libpq/libpq.sl | grep umoddi
__umoddi3           |     95696|uext  |stub   |
__umoddi3           |     98616|extern|entry  |
__umoddi3           |     98640|extern|code   |$CODE$
---%<---


This call can be closed.

regards Heiko


Вложения

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

Предыдущее
От: Heiko Lehmann
Дата:
Сообщение: Re: Bug PgSQL Symbol umoddi hpux (fwd)
Следующее
От: dinu paul
Дата:
Сообщение: Installation Errors