I use Msys/Mingw to build the dlls using openssl-0.9.8. However I have had to
remove line 910 [$IsMK1MF=1 if ($target eq "mingw" && ^O ne
"cygwin");] (as suggested in a different thread by Doug Kaufman) from
the Configure script.
At the moment I am having trouble getting the .dlls to work but the
problem is more then
likely caused by the application I am using and not on how the dlls
Here are the steps I am doing:
Explode the tarball using xhf option inside of the openssl-0.9.8 directory:
Then I have to copy several *.h and * .c files into include/openssl
and test directories respectively due to the inabilty of msys and/or
mingw to support links. These commands will copy the files (and
probably some that dont need to be copied). If I have missed any you
will notice the missing files when you try and compile.
> how do I get libeay32.dll and libssl32.dll?
> I've tried:
> $ ./Configure mingw enable-rc5 enable-mdc2 shared
> $ make depend
> $ make
> $ make test
> $ make install
> Build works and I get cryptoeay32-0.9.8.dll and ssleay32-0.9.8.dll.
> I think
> cryptoeay32-0.9.8.dll is libeay32.dll
> ssleay32-0.9.8.dll is libssl32.dll
> Renaming didn't work because the name are compiled in.
> OpenSSL Project http://www.openssl.org > User Support Mailing List [hidden email] > Automated List Manager [hidden email] >
Re: Re: How to get libeay32.dll and libssl32.dll?
I had errors similar to yours (which I attributed to a typo I had
made) so I deleted the entire openssl-0.9.8 directory and then started
from scratch using the instructions I listed in my previous post and
everything worked under msys.
On 7/12/05, Carsten Krüger <[hidden email]> wrote:
> $ dllwrap --dllname libeay32.dll --output-lib libeay32.a --def ms/libeay32.def libcrypto.a -lwsock32 -lgdi32
> libcrypto.a(bio_cb.o):bio_cb.c:(.text+0x1e2): undefined reference to `__imp___iob'
> libcrypto.a(bss_file.o):bss_file.c:(.text+0x98): undefined reference to `__errno'
> libcrypto.a(b_print.o):b_print.c:(.text+0x95b): undefined reference to `__imp___pctype'
OpenSSL Project http://www.openssl.org User Support Mailing List [hidden email] Automated List Manager [hidden email]
M> I had errors similar to yours (which I attributed to a typo I had
M> made) so I deleted the entire openssl-0.9.8 directory and then started
M> from scratch using the instructions I listed in my previous post and
M> everything worked under msys.