Operating System - HP-UX
1833206 Members
2925 Online
110051 Solutions
New Discussion

Re: Maddened by OpenSSL and Crypt::SSLeay make

 
Ralph Grothe
Honored Contributor

Re: Maddened by OpenSSL and Crypt::SSLeay make

Yes Steven, you were right.
there was a typo, don't know why didn't create the link as I usually do

cd /usr/lib
ln -s /opt/openssl/lib/libcrypto.sl.0.9.6 .

(i.e. the trailing dot) would have protected me

I changed it to

# ll libcrypt*
-r--r--r-- 12 bin bin 1248 Oct 27 1997 libcrypt.a
lrwxr-xr-x 1 root sys 35 Mar 12 17:56 libcrypto.sl.0.9.6 ->
/opt/openssl/lib/libcrypto.sl.0.9.6

but even with this correction (did a distclean in between) my errors messages do persist.

Anyway, thanks for your remark.
Madness, thy name is system administration
Ralph Grothe
Honored Contributor

Re: Maddened by OpenSSL and Crypt::SSLeay make

Hi Merjin,

and I thought you have "procura" in your company ;-)
In German Prokura means to have "full power of attorney", i.e. the person who is allowed to spend the money.
Has it the same meaning in Dutch?

But I could hardly believe that such a person would demean oneself to do such inferior work like Unix system administration.

Ok, I included yet another symlink in /usr/lib

# ll /usr/lib/libcrypto.sl.0*
lrwxr-xr-x 1 root sys 31 Mar 12 18:08 /usr/lib/libcrypto.sl.
0 -> /opt/openssl/lib/libcrypto.sl.0
lrwxr-xr-x 1 root sys 35 Mar 12 17:56 /usr/lib/libcrypto.sl.
0.9.6 -> /opt/openssl/lib/libcrypto.sl.0.9.6


Although the gmake completes with no errors (like before), the "gmake test" won't

# gmake test
PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib -I/opt/perl5/lib/5.6.1/PA
-RISC2.0 -I/opt/perl5/lib/5.6.1 -e 'use Test::Harness qw(&runtests $verbose); $v
erbose=0; runtests @ARGV;' t/*.t
t/ssl_context......./usr/lib/dld.sl: Can't open shared library: ./libcrypto.sl.0
.9.6
/usr/lib/dld.sl: No such file or directory
Can't load 'blib/arch/auto/Crypt/SSLeay/SSLeay.sl' for module Crypt::SSLeay: No
such file or directory at /opt/perl5/lib/5.6.1/PA-RISC2.0/DynaLoader.pm line 206
.
at blib/lib/Crypt/SSLeay/CTX.pm line 2
Compilation failed in require at blib/lib/Crypt/SSLeay/CTX.pm line 2.
Compilation failed in require at blib/lib/Crypt/SSLeay/MainContext.pm line 8.
Compilation failed in require at t/ssl_context.t line 3.
BEGIN failed--compilation aborted at t/ssl_context.t line 3.
t/ssl_context.......dubious
Test returned status 255 (wstat 65280, 0xff00)
FAILED--1 test script could be run, alas--no output ever seen
gmake: *** [test_dynamic] Error 2


Do you think I could ignore the error from the test, and try to install Crypt::SSLeay anyway (usually not advisable, as you run into troubles later)
Madness, thy name is system administration
H.Merijn Brand (procura
Honored Contributor

Re: Maddened by OpenSSL and Crypt::SSLeay make

I never do, unless I expect some tests to fail because I've some altered system settings.

What I'd try is to trace the pwd at the moment it tries to load the lib and symlink it from there, or contact the author of SSLeay and ask what should happen where.

I'll be back thursday (and expect to be wearing a hat by than :)
Enjoy, Have FUN! H.Merijn