| From: | Heiko Lehmann <hlehmann(at)fh-lausitz(dot)de> |
|---|---|
| To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
| Cc: | pgsql-ports(at)postgresql(dot)org |
| Subject: | Re: Bug PgSQL Symbol umoddi hpux (fwd) |
| Date: | 2003-02-14 11:44:04 |
| Message-ID: | Pine.LNX.4.21.0302141228530.1442-200000@lukas.fh-lausitz.de |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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
| Attachment | Content-Type | Size |
|---|---|---|
| postgresql-7.3.2.patch-libpq-lgcc | text/plain | 834 bytes |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | dinu paul | 2003-02-27 11:55:01 | errors |
| Previous Message | Tom Lane | 2003-02-13 16:39:37 | Re: Bug PgSQL Symbol umoddi hpux (fwd) |