Hello, I try to build static postgresql 8.3.6 with static openssl 0.9.8i.
I compiled openssl: perl Configure mingw make make test make install that build two libs: libcrypt.a and libssl.a postgres requred libeay32 and libssleay32 so i copied libcrypt to libeay32 and libssl to libssleay32 (i tried also change postgres configure script to depends on libcrypt and libssl but without effect) then I'm trying to compile postgresql: /configure --disable-shared --with-openssl --with-includes=/local/ssl/includ e/ --with-libs=/local/ssl/lib/ configure script shows: (...) checking for perl... /perl/bin/perl checking for main in -lm... yes checking for library containing setproctitle... no checking for library containing dlopen... no checking for library containing socket... no checking for library containing shl_load... no checking for library containing getopt_long... none required checking for library containing crypt... no checking for library containing fdatasync... no checking for library containing shmget... no checking for inflate in -lz... yes checking for CRYPTO_new_ex_data in -leay32... yes checking for SSL_library_init in -lssleay32... no configure: error: library 'ssleay32' is required for OpenSSL at config.log: configure:7695: checking for SSL_library_init in -lssleay32 configure:7725: gcc -o conftest.exe -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -I./src/include/port/win32 -DEXEC_BACKEND -I/local/ssl/include/ -Wl,--allow-multiple-definition -L/local/ssl/lib/ conftest.c -lssleay32 -lwsock32 -lwst -lws2_32 -lmswsock -leay32 -lz -lm >&5 C:/msys/1.0/local/ssl/lib//libeay32.a(bss_sock.o)(.text+0xca):bss_sock.c: undefined reference to `shutd...@8' C:/msys/1.0/local/ssl/lib//libeay32.a(bss_sock.o)(.text+0xd4):bss_sock.c: undefined reference to `closesoc...@4' C:/msys/1.0/local/ssl/lib//libeay32.a(bss_sock.o)(.text+0x1b1):bss_sock.c: undefined reference to `shutd...@8' C:/msys/1.0/local/ssl/lib//libeay32.a(bss_sock.o)(.text+0x1bb):bss_sock.c: undefined reference to `closesoc...@4' C:/msys/1.0/local/ssl/lib//libeay32.a(bss_sock.o)(.text+0x231):bss_sock.c: undefined reference to `wsagetlaster...@0' (...) I treid to add on configure script -lwsock32 -lws2_32 and -lmswsock but without effect Please, what am I doing wrong? It's very urgent for me Tomasz Kolaj ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org