Hi folks, I've implemented an engine for OpenSSL and the engine works fine if linked statically. Now I'm trying to transform it into a shared library to be used via the dynamic engine yet, unfortunately, loading the engine results in a core dump. I'm using the following configuration:
Windows 2000 cygwin tools with gcc 2.95.3-5 OpenSSL 0.9.7 As far as I can see, the segmentation fauld occurs in DSO_new_method, if this is of any help. I've built the engine with the following commands: gcc -I.. -I../.. -I../../include -DENGINE_DYNAMIC_SUPPORT -DOPENSSL_SYSNAME_CYGWIN32 -DOPENSSL_THREADS -DDSO_WIN32 -DOPENSSL_NO_KRB5 -DTERMIOS -DL_ENDIAN -fomit-frame-pointer -O3 -march=i486 -Wall -DSHA1_ASM -DMD5_ASM -DRMD160_ASM -c -o tmp_myengine.o myengine.c gcc -shared -o cyg_myengine.dll -Wl,-V -Wl,--out-implib=libmyengine.dll.a -Wl,--export-all-symbols -Wl,--enable-auto-import -WL,-Bsymbolic -Wl,--whole-archive tmp_myengine.o mycryptolib.a -Wl,--no-whole-archive ../../libcrypto.a Within openssl I tried engine -vvvv dynamic -pre SO_PATH:./crypto/engine/libmyengine.dll.a -pre LOAD I also tried to build my dynamic library this way: gcc -shared -o libmyengine.dll.a tmp_myengine.o -L../.. -lcrypto yet the result is identical. So, if anybody could help me with this I would be most grateful. Thanks in advance. Best, Thorsten ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
