* Problem with Net::SSLeay and Digital UNIX
@ 1999-05-17 4:00 R. Scott Butler
0 siblings, 0 replies; only message in thread
From: R. Scott Butler @ 1999-05-17 4:00 UTC (permalink / raw)
I'm having trouble getting Net::SSLeay to work on my Digital UNIX
workstation and I'm beginning to believe that my problem is with an
interaction of DU and PERL.
What follows is a listing of what happens. The build goes OK but the
test program fails.
//Begin listing//
[butlerrs@ghidorah .../Net_SSLeay.pm-1.03] ./Makefile.PL -t
Checking for SSLeay-0.9.0 or OpenSSL-0.9.1c...
You have SSLeay-0.9.0a installed in /usr/local/ssl
Writing Makefile for Net::SSLeay
cc -c -I/usr/local/ssl/include -std -fprm d -ieee -D_INTRINSICS
-I/usr/local/include -D__LANGUAGE_C__ -O4 -DVERSION=\"1.03\"
-DXS_VERSION=\"1.03\"
-I/usr/local/lib/perl5/5.00501/alpha-dec_osf/CORE SSLeay.c
Running Mkbootstrap for Net::SSLeay ()
chmod 644 SSLeay.bs
ar cr tmp.a SSLeay.o
: tmp.a
LD_RUN_PATH="/usr/local/ssl/lib" ld -o
blib/arch/auto/Net/SSLeay/SSLeay.so -shared -expect_unresolved "*" -O4
-msym -s -L/usr/local/lib -all tmp.a -none -L/usr/local/ssl
-L/usr/local/ssl/lib -lssl -lcrypto
chmod 755 blib/arch/auto/Net/SSLeay/SSLeay.so
cp SSLeay.bs blib/arch/auto/Net/SSLeay/SSLeay.bs
chmod 644 blib/arch/auto/Net/SSLeay/SSLeay.bs
PERL_DL_NONLAZY=1 /usr/local/bin/perl -Iblib/arch -Iblib/lib
-I/usr/local/lib/perl5/5.00501/alpha-dec_osf
-I/usr/local/lib/perl5/5.00501 test.pl
1..12
Can't load 'blib/arch/auto/Net/SSLeay/SSLeay.so' for module Net::SSLeay:
Unresolved symbol in blib/arch/auto/Net/SSLeay/SSLeay.so:
ASN1_get_object at
/usr/local/lib/perl5/5.00501/alpha-dec_osf/DynaLoader.pm line 168.
at test.pl line 14
BEGIN failed--compilation aborted at test.pl line 14.
not ok 1
make: *** [test_dynamic] Error 2
//End listing//
As you can see, the test code fails as a result of an unresolved global
'ASN1_get_object'.
I have tried building the PERL module against SSLeay built with both gcc
and cc. The example shown above used SSLeay built with cc.
If I build against SSLeay built with gcc, the failure is identical
except that the unresolved global is 'd2i_RSAPrivatekey_bio'. Both of
the
unresolved symbols *are* defined in libcrypto.a.
I'm clueless as to how the shared library mechansism and the PERL
Dynaloader interact.
Any suggestions would be appreciated...
Version information:
Digital UNIX 4.0E with one set of patches
cc - whatever you get with DU 4.0E
gcc - 2.7.2.3
PERL - version 5.005_01
SSLeay - 0.9.0a (builds cleanly and passes 'make test')
R. Scott Butler
r-scott.butler@usa.dupont.com
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1999-05-17 4:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-05-17 4:00 Problem with Net::SSLeay and Digital UNIX R. Scott Butler
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox