Post by Dave YeoWrong directory separators for Q:\usr\local\OPENSSL\lib.
That turns out to not be the problem; I edited Config.pm and
Config_heavy.pl to include Q:\usr\local\OPENSSL\lib vut dropped a
keystroke in Config_heavy.pl; correcting that got rid of most of the
errors but added some new ones.
Directory of U:\usr\lib\libsocket.a
6-11-07 9:23 631,488 0 libsocket.a
LIBRARY_PATH includes U:/usr/lib, and my understnading is that
-Lsocket should find both socket and libsocket. However,
[h:\vendors\cpan\crypt-openssl-random-0.04]perl Makefile.PL verbose
BUILD_REQUIRES => { }
CONFIGURE_REQUIRES => { }
DEFINE => q[]
INC => q[]
LIBS => [q[-lssl -lcrypto]]
NAME => q[Crypt::OpenSSL::Random]
PREREQ_PM => { }
VERSION_FROM => q[Random.pm]
Using PERL=Q:/PROGRAMS/PERL/BIN/perl.exe
Have /perl5/lib/5.10.0/os2
Want /PROGRAMS/PERL/lib/5.10.0/os2
Your perl and your Config.pm seem to have different ideas about the
architecture they are running on.
Perl thinks: [os2]
Config says: [os2]
This may or may not cause problems. Please check your installation of
perl if you have problems building this extension.
Potential libraries are '-lssl -lcrypto -lsocket':
ssl not found in /usr/lib
ssl not found in /usr/lib/gcc-lib/i386-pc-os2-emx/3.3.5
ssl not found in /extras/lib
ssl not found in /dev/qt/trunk/lib
ssl not found in /openldap/lib
ssl not found in /cups/lib
ssl not found in Q:/os2tk45/lib
'-lssl_s' found at q:/usr/local/OPENSSL/lib/libssl_s.a
crypto not found in /usr/lib
crypto not found in /usr/lib/gcc-lib/i386-pc-os2-emx/3.3.5 crypto not
found in /extras/lib
crypto not found in /dev/qt/trunk/lib
crypto not found in /openldap/lib
crypto not found in /cups/lib
crypto not found in Q:/os2tk45/lib
'-lcrypto_s' found at q:/usr/local/OPENSSL/lib/libcrypto_s.a socket
not found in /usr/lib
socket not found in /usr/lib/gcc-lib/i386-pc-os2-emx/3.3.5 socket not
found in /extras/lib
socket not found in /dev/qt/trunk/lib
socket not found in /openldap/lib
socket not found in /cups/lib
socket not found in Q:/os2tk45/lib
socket not found in q:/usr/local/OPENSSL/lib
Note (probably harmless): No library found for -lsocket
Writing Makefile for Crypt::OpenSSL::Random
Writing MYMETA.yml and MYMETA.json
In this case that's harmless, but the make fails on other errors:
[h:\vendors\cpan\crypt-openssl-random-0.04]U:\extras\bin\make
Skip blib/lib/Crypt/OpenSSL/Random.pm (unchanged)
gcc -c -DDOSISH -DOS2=2 -DEMBED -I. -fno-strict-aliasing -pipe -I/usr/local/include -O2 -fomit-frame-pointer -falign-loops=2 -falign-jumps=2 -falign-functions
=2 -s -DVERSION=\"0.04\" -DXS_VERSION=\"0.04\" -Zdll "-IQ:/PROGRAMS/PERL/lib/5.10.0/os2/CORE" Random.c
In file included from Q:/PROGRAMS/PERL/lib/5.10.0/os2/CORE/perl.h:2495,
from Random.xs:2:
Q:/PROGRAMS/PERL/lib/5.10.0/os2/CORE/os2ish.h:30:1: warning: "PERL_DONT_CREATE_GVSV" redefined
In file included from Random.xs:2:
Q:/PROGRAMS/PERL/lib/5.10.0/os2/CORE/perl.h:932:1: warning: this is the location
of the previous definition
Running Mkbootstrap for Crypt::OpenSSL::Random ()
Q:/PROGRAMS/PERL/BIN/perl.exe -MExtUtils::Command -e 'chmod' -- 644 Random.bs
Q:/PROGRAMS/PERL/BIN/perl.exe -MExtUtils::Command -e 'rm_f' -- blib/arch/auto/Crypt/OpenSSL/Random/RandomBQ.dll
gcc -Zdll -Zomf Random.o -O2 -fomit-frame-pointer -falign-loops=2 -falign-jumps=2 -falign-functions=2 -s -o blib/arch/auto/Crypt/OpenSSL/Random/RandomBQ.dll
\
Q:/PROGRAMS/PERL/lib/5.10.0/os2/CORE/libperl.a -lssl_s -lcrypto_s Q:/PROGRAMS/PERL/lib/5.10.0/os2/CORE/libperl_override.a Random.def \
|| ( Q:/PROGRAMS/PERL/BIN/perl.exe -MExtUtils::Command -e 'rm_f' -- blib/arch/auto/Crypt/OpenSSL/Random/RandomBQ.dll && sh -c false )
weakld: error: Unresolved symbol (UNDEF EXPORT) 'boot_Crypt__OpenSSL__Random'.
weakld: info: The symbol is referenced by:
H:/Vendors/CPAN/Crypt-OpenSSL-Random-0.04/Random.def
weakld: error: Unresolved symbol (UNDEF) '_zError'.
weakld: info: The symbol is referenced by:
U:\tmp\ldconv_libcrypto_s_a_3a04f411f921ba090.lib(c_zlib.obj)
weakld: error: Unresolved symbol (UNDEF) '_deflateEnd'.
weakld: info: The symbol is referenced by:
U:\tmp\ldconv_libcrypto_s_a_3a04f411f921ba090.lib(c_zlib.obj)
weakld: error: Unresolved symbol (UNDEF) '_deflate'.
weakld: info: The symbol is referenced by:
U:\tmp\ldconv_libcrypto_s_a_3a04f411f921ba090.lib(c_zlib.obj)
weakld: error: Unresolved symbol (UNDEF) '_deflateInit_'.
weakld: info: The symbol is referenced by:
U:\tmp\ldconv_libcrypto_s_a_3a04f411f921ba090.lib(c_zlib.obj)
weakld: error: Unresolved symbol (UNDEF) '_inflate'.
weakld: info: The symbol is referenced by:
U:\tmp\ldconv_libcrypto_s_a_3a04f411f921ba090.lib(c_zlib.obj)
weakld: error: Unresolved symbol (UNDEF) '_inflateEnd'.
weakld: info: The symbol is referenced by:
U:\tmp\ldconv_libcrypto_s_a_3a04f411f921ba090.lib(c_zlib.obj)
weakld: error: Unresolved symbol (UNDEF) '_inflateInit_'.
weakld: info: The symbol is referenced by:
U:\tmp\ldconv_libcrypto_s_a_3a04f411f921ba090.lib(c_zlib.obj)
Ignoring unresolved externals reported from weak prelinker.
U:\tmp\ldconv_libcrypto_s_a_3a04f411f921ba090.lib(c_zlib.obj) : error LNK2029: "
_deflateEnd" : unresolved external
U:\tmp\ldconv_libcrypto_s_a_3a04f411f921ba090.lib(c_zlib.obj) : error LNK2029: "
_inflateEnd" : unresolved external
U:\tmp\ldconv_libcrypto_s_a_3a04f411f921ba090.lib(c_zlib.obj) : error LNK2029: "
_deflateInit_" : unresolved external
U:\tmp\ldconv_libcrypto_s_a_3a04f411f921ba090.lib(c_zlib.obj) : error LNK2029: "
_inflateInit_" : unresolved external
U:\tmp\ldconv_libcrypto_s_a_3a04f411f921ba090.lib(c_zlib.obj) : error LNK2029: "
_deflate" : unresolved external
U:\tmp\ldconv_libcrypto_s_a_3a04f411f921ba090.lib(c_zlib.obj) : error LNK2029: "
_zError" : unresolved external
U:\tmp\ldconv_libcrypto_s_a_3a04f411f921ba090.lib(c_zlib.obj) : error LNK2029: "
_inflate" : unresolved external
There were 7 errors detected
--
Shmuel (Seymour J.) Metz, SysProg and JOAT <http://patriot.net/~shmuel>
Unsolicited bulk E-mail subject to legal action. I reserve the
right to publicly post or ridicule any abusive E-mail. Reply to
domain Patriot dot net user shmuel+news to contact me. Do not
reply to ***@library.lspace.org