> From: owner-openssl-us...@openssl.org On Behalf Of Tomasz Kolaj > Sent: Friday, 20 February, 2009 05:17
> dllwrap -o libpq.dll --dllname libpq.dll --def libpqdll.def <snip .o's> > -L../../../src/port -L/local/ssl/lib -lcrypto -lshfolder -leay32 > -lssleay32 - > lgdi32 -lwsock32 -lwst -lws2_32 -lmswsock -lsecur32 -lz > C:/msys/1.0/local/ssl/lib/libssleay32.a(ssl_lib.o)(.text+0x4ab):ss > l_lib.c: > undefined reference to `BIO_s_socket' > C:/msys/1.0/local/ssl/lib/libssleay32.a(ssl_lib.o)(.text+0x5b3):ss > l_lib.c: > undefined reference to `BIO_s_socket' > C:/msys/1.0/local/ssl/lib/libssleay32.a(ssl_lib.o)(.text+0x733):ss > l_lib.c: > undefined reference to `BIO_s_socket' You must have libeay (or libcrypto, which should be the same thing if it exists at all) AFTER libssleay . (And I don't think you should need both wsock32 and ws2_32, but it shouldn't do any harm either.) ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org