Heiko Lehmann <hlehmann(at)fh-lausitz(dot)de> writes:
> - 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.
[ 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