In article <[EMAIL PROTECTED]> you wrote:

> I took the snapshot openssl-SNAP-19990305 and successfuly compiled
> openssl on NT .
> When i try to compile the perl module ,things are different.
> First ,  makefile.pl does not take in consideration the libraries
> libeay32.dll and ssleay32.dll , but the unix versions :
> WriteMakefile(
>     'OPTIMIZE'      => '',
>     'DISTNAME'      => 'OpenSSL-0.9.2',
>     'NAME'          => 'OpenSSL',
>     'VERSION_FROM'  => 'OpenSSL.pm',
>     'LIBS'          => ['-L.. -lssl -lcrypto'],
>     'DEFINE'        => '',
>     'INC'           => '-I../include',
> 
> I changed the code  (quick and dirty manner) in order to take windows
> version into account:
> WriteMakefile(
>     'OPTIMIZE'      => '',
>     'DISTNAME'      => 'OpenSSL-0.9.2',
>     'NAME'          => 'OpenSSL',
>     'VERSION_FROM'  => 'OpenSSL.pm',
>     'LIBS'          => ['-L../out32dll  -llibeay32 -lssleay32'],
>     'DEFINE'        => '',
>     'INC'           => '-I../inc32',

Now fixed.

>[...]
> blib\arch\auto\OpenSSL\OpenSSL.exp
> openssl_bio.obj : error LNK2001: unresolved external symbol
> _BIO_get_ex_new_index
> openssl_bio.obj : error LNK2001: unresolved external symbol
> _BIO_get_ex_data
> openssl_bio.obj : error LNK2001: unresolved external symbol
> _BIO_set_ex_data
> blib\arch\auto\OpenSSL\OpenSSL.dll : fatal error LNK1120: 3 unresolved
> externals

AFAIK this is caused because those functions are missing
from the ms/libeay{16,32}.def files. I've now added them.

Nevertheless: The Perl interface is horribly incomplete.
Don't expect it to do something useful...

                                       Ralf S. Engelschall
                                       [EMAIL PROTECTED]
                                       www.engelschall.com
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to