static openssl on mingw (undefined reference on bss_sock.c)

2009-03-03 Thread migo
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

static openssl on mingw (undefined reference on bss_sock.c)

2009-03-03 Thread migo
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

RE: static openssl on mingw (undefined reference on bss_sock.c)

2009-02-21 Thread Dave Thompson
> 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 > -L../../../src/port -L/local/ssl/lib -lcrypto -lshfolder -leay32 > -lssleay32 - > lgdi32 -lwsock32 -lwst -lws2_32 -lmswsock

Re: static openssl on mingw (undefined reference on bss_sock.c)

2009-02-20 Thread Tomasz Kolaj
Dnia piątek 20 luty 2009 o 12:28:59 napisałeś: > >>On Fri 20/02/09 10:17 AM , Tomasz Kolaj m...@abp.pl sent: > >>Hello, > >> > >>Unfortunetly I need still compile shared version also and make fails with > >>that: > >> > >>C:/msys/1.0/local/ssl/lib/libssleay32.a(ssl_lib.o)(.text+0x4ab):ssl_lib.c > >

Re: static openssl on mingw (undefined reference on bss_sock.c)

2009-02-20 Thread carlyoung
>>On Fri 20/02/09 10:17 AM , Tomasz Kolaj m...@abp.pl sent: >>Hello, >> >>Unfortunetly I need still compile shared version also and make fails with >>that: >> >>C:/msys/1.0/local/ssl/lib/libssleay32.a(ssl_lib.o)(.text+0x4ab):ssl_lib.c: >>undefined reference to `BIO_s_socket' That's part of opens

Re: static openssl on mingw (undefined reference on bss_sock.c)

2009-02-20 Thread Tomasz Kolaj
Hello, Dnia czwartek 19 luty 2009 o 14:57:56 napisałeś: > > Those functions are in secur32.lib Unfortunetly I need still compile shared version also and make fails with that: - cut -- gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration- after-statement -Wendif-labels -fno-

Re: static openssl on mingw (undefined reference on bss_sock.c)

2009-02-19 Thread Tomasz Kolaj
Dnia czwartek 19 luty 2009 o 14:57:56 carlyo...@keycomm.co.uk napisał(a): > >>On Thu 19/02/09 1:41 PM , Tomasz Kolaj m...@abp.pl sent: > >>Hello, > >> > >>Dnia czwartek 19 luty 2009 o 11:37:20 Victor B. Wagner napisał(a): > >>> On 2009.02.19 at 09:48:20 +0100, m...@abp.pl wrote: > >>> So, changing

Re: static openssl on mingw (undefined reference on bss_sock.c)

2009-02-19 Thread carlyoung
>>On Thu 19/02/09 1:41 PM , Tomasz Kolaj m...@abp.pl sent: >>Hello, >> >>Dnia czwartek 19 luty 2009 o 11:37:20 Victor B. Wagner napisał(a): >>> On 2009.02.19 at 09:48:20 +0100, m...@abp.pl wrote: >>> So, changing library order to >>> -lssleay32 -leay32 -lwsock32 -lwst -lws2_de -lz -lm >>> might hel

Re: static openssl on mingw (undefined reference on bss_sock.c)

2009-02-19 Thread Tomasz Kolaj
Hello, Dnia czwartek 19 luty 2009 o 11:37:20 Victor B. Wagner napisał(a): > On 2009.02.19 at 09:48:20 +0100, m...@abp.pl wrote: > So, changing library order to > -lssleay32 -leay32 -lwsock32 -lwst -lws2_de -lz -lm > might help. It works, Configure script works now but make fails: -- cut -- gcc

Re: static openssl on mingw (undefined reference on bss_sock.c)

2009-02-19 Thread Victor B. Wagner
On 2009.02.19 at 09:48:20 +0100, m...@abp.pl wrote: > Hello, > > I try to build static postgresql 8.3.6 with static openssl 0.9.8i. > > at config.log: > configure:7695: checking for SSL_library_init in -lssleay32 > configure:7725: gcc -o conftest.exe -O2 -Wall -Wmissing-prototypes > -Wpointer-ar

static openssl on mingw (undefined reference on bss_sock.c)

2009-02-19 Thread migo
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