Re: Bug PgSQL Symbol umoddi hpux (fwd)
От | Heiko Lehmann |
---|---|
Тема | Re: Bug PgSQL Symbol umoddi hpux (fwd) |
Дата | |
Msg-id | Pine.LNX.4.21.0302131626460.5733-100000@lukas.fh-lausitz.de обсуждение исходный текст |
Ответ на | Re: Bug PgSQL Symbol umoddi hpux (fwd) (Tom Lane <tgl@sss.pgh.pa.us>) |
Список | pgsql-ports |
On Wed, 12 Feb 2003, Tom Lane wrote: > Heiko Lehmann <hlehmann@fh-lausitz.de> writes: > > /usr/lib/dld.sl: Unresolved symbol: __umoddi3 (code) from /usr/local/pgsql/lib/libpq.sl > > You might find it helps to explicitly link libgcc.a into libpq.sl when > building the latter. This sort of thing is common when you mix gcc and > HP-cc output files ... > > regards, tom lane > Thanks for the information. I tried it, but only partially with success. 1. I found an option enable-libgcc. This is however not used everywhere: php-4 knows option --enable-libgcc php-3.0.18 unknown option --enable-libgcc pgsql-7.3.2 unknown option --enable-libgcc 2. fix 1. (extract from php4-configure) - php3 : libgcc_libpath=`gcc --print-libgcc-file-name|sed 's%/*[^/][^/]*$%%'` EXTRA_LIBS="-L$libgcc_libpath" LDFLAGS="-L$libgcc_libpath" LIBS="-lgcc" \ ./configure $OPTIONS | tee -a configure.out ## EXTRA_LIBS required - pgsql-7.3.2: libgcc_libpath=`gcc --print-libgcc-file-name|sed 's%/*[^/][^/]*$%%'` LDFLAGS="-L$libgcc_libpath" LIBS="-lgcc" \ ./configure $OPTIONS | tee -a configure.out 3. - Unfortunately the problem of __umoddi3 cannot be repaired with 2. - I use reliably no HP-cc. As I can read which libs was used? What can I still test around this problem to eliminate? regards Heiko +----------------------------------------------------------------+ | Name: Heiko Lehmann | | Anschrift: FHL-HRZ, Groszenhainer Str. 57, 01968 Senftenberg | | Telephon: 03573/85/358 \\|// | | E-Mail: hlehmann@fh-lausitz.de (o^o) | +--------------------------------------------------oo0-(_)-0oo---+
В списке pgsql-ports по дате отправления: