>       From: owner-openssl-us...@openssl.org On Behalf Of Vivek Subbarao
>       Sent: Monday, 06 July, 2009 06:34

>       I have built openssl 0.9.8k library on windows 64 bit server 2003
OS. 
> I am linking my application to these dll's and lib's. But when i run my
app 
> it displays the following errors and exits.

>       Auto configuration failed
>       1396:error:02001015:system library:fopen:Is a
directory:.\crypto\bio\bss_file.c:
>       126:fopen('D:openssl_0.9.8k/ssl/openssl.cnf','rb')
>       1396:error:2006D002:BIO routines:BIO_new_file:system
lib:.\crypto\bio\bss_file.c
>       :131:
>       1396:error:0E078002:configuration file routines:DEF_LOAD:system
lib:.\crypto\con
>       f\conf_def.c:199:

Obviously it isn't able to open what you configured to be the 
default config file. Does that directory, and file, exist?
TTBOMK the ms=Win build procedures don't do the install step, 
which 'make install' does on Unix/ish. I use my own (small) 
.bat file to copy the inc32 out32whatever and .cnf files, and 
ignore the man pages (I use a Unix copy for those).

What compiler and especially C runtime library do you use?
(Because that's what has to actually do the filename interp.)
Does 64-bit still have the different library models like Win32 
and need applink.c or something like it? For that matter are 
you compiling 64-bit, or just running on a 64-bit host?

Possibly you need to use D:/openssl... (with the slash).
You could try writing a small standalone test program 
that just opens a file, and verify what filenames work.



______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to