Subject: | X509_STORE_set_trust not available in openssl-0.9.6 |
On a system with openssl-0.9.6, the current 1.30 version of Net::SSLeay
cannot be installed. "make test" fails when linking SSLeay.so:
--------
CPAN Terminal> p
[CP_MSG] [Tue Jan 17 15:51:53 2006] Checking if source files are up to date
[CP_MSG] [Tue Jan 17 15:51:53 2006] Retrieving
/root/.cpanplus/sourcefiles.2.15.stored
[CP_MSG] [Tue Jan 17 15:52:06 2006] make[1]: Entering directory
`/root/.cpanplus/5.8.6/build/Net_SSLeay.pm-1.30/Net-SSLeay-Handle-0.50'
make[1]: Leaving directory
`/root/.cpanplus/5.8.6/build/Net_SSLeay.pm-1.30/Net-SSLeay-Handle-0.50'
[CP_ERROR] [Tue Jan 17 15:52:08 2006] MAKE TEST failed: make[1]:
Entering directory
`/root/.cpanplus/5.8.6/build/Net_SSLeay.pm-1.30/Net-SSLeay-Handle-
0.50'
make[1]: Leaving directory
`/root/.cpanplus/5.8.6/build/Net_SSLeay.pm-1.30/Net-SSLeay-Handle-0.50'
PERL_DL_NONLAZY=1 /usr/local/vwperl/bin/perl "-Iblib/lib" "-Iblib/arch"
test.pl
Can't load 'blib/arch/auto/Net/SSLeay/SSLeay.so' for module Net::SSLeay:
blib/arch/auto/Net/SSLeay/SSLeay.so: undefined symbol:
X509_STORE_set_trust at
/usr/local/vwperl/lib/5.8.6/i686-linux-thread-multi/DynaLoader.pm line 230.
at test.pl line 25
Compilation failed in require at test.pl line 25.
BEGIN failed--compilation aborted at test.pl line 25.
1..20
not ok 1
make: *** [test_dynamic] Error 255
The symbol X509_STORE_set_trust does not exist under openssl-0.9.6, it
was introduced with openssl-0.9.7 afaik. Perhaps it would be possible to
make use of this symbol depend on the installed version of openssl
"make test" fails for 1.25, too, but only in test 5 (tcpserver).
---------
perl 5.8.6
SuSE Linux 8.2
openssl-0.9.6i, openssl-devel-0.9.6i (SuSE had included the relevant
security patches until a few months ago).