Hi Kopbeen, 

I see that linker could not find crypto.dll and lssl.dll. 
Are you sure that these libraries were built? 


My advise is: Try to build openSSL for Linux using CryptoCOM manual.  
You mentioned that you use Mingw32 and Windows.
This manual was written for Linux and there can be some unexpected side 
effects.  
Make sure that you do everything correctly on Linux and then move to Windows.


________________________________
 От: kopbeen <p...@nanoteq.com>
Кому: openssl-users@openssl.org 
Отправлено: понедельник, 18 июня 2012 18:37
Тема: Building and installing gost engine
 

Hi all, 

This is my first question to the openssl community - apologies if its a bit
noobish.. but I am really stuck.. 

I am trying to build the Russian Gost engine on windows using openssl-0.9.8e

if you look at a translated version of link:

http://www.cryptocom.ru/opensource/openssl098.html
http://www.cryptocom.ru/opensource/openssl098.html 

I have managed to do the following on my dev env.

1. Compile openssl 0.9.8.e
2. Patch openssl 0.9.8.e with the diff file: (openssl-asymm-0.9.8e.diff)
3. Recompile + build it.

Running the following command shows that it (may) be working:

C:\openssl\bin>openssl version
MagPro CryptoPack 1.0: OpenSSL 0.9.8e 23 Feb 2007

Where I get stuck is the following: 

◦Assemble engine gost, specifying the name of the directory that contains
the top level of the modified source code of OpenSSL: 
make OPENSSL_DIR=../openssl-0.9.8e

It seems the enige has only really been compiled with Mingw32, I get the
following errors:

" gcc -g -L ../openssl-0.9.8e/ -static-libgcc -mno-cygwin -shared -o
gost.dll e_gost_err.o engine.o params.o md_gost.o gosthash1.o gost89.o
gost-sign.o gost_crypto.o asymm_gost.o gost_dh.o gost_keytrans.o keywrap.o
gost_prf.o gost2001.o gost2001_keyx.o gost_ssl.o control.o -lcrypto.dll
-lssl.dll -g -L ../openssl-0.9.8e/ -static-libgcc -mno-cygwin
e:\mingw/bin/../lib/gcc/mingw32/4.6.2/../../../../mingw32/bin/ld.exe: cannot
find -lcrypto.dll
e:\mingw/bin/../lib/gcc/mingw32/4.6.2/../../../../mingw32/bin/ld.exe: cannot
find -lssl.dll
collect2: ld returned 1 exit status
make: *** [gost.dll] Error 1

---

I'll attach my output for making openssl up to the above mentioned errors.. 

Will really appretate if someone can help out. really stuck! 8-O
http://old.nabble.com/file/p34030452/openssl_gost_compile_steps.txt
openssl_gost_compile_steps.txt 
-- 
View this message in context: 
http://old.nabble.com/Building-and-installing-gost-engine-tp34030452p34030452.html
Sent from the OpenSSL - User mailing list archive at Nabble.com.
______________________________________________________________________
OpenSSL Project                                http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                          majord...@openssl.org

Reply via email to