I posted the attached message a few weeks ago, several people pointed
out that the unresolved symbols were supplied by libgcc. After a
trying a few things I worked out that I had to put
-L/path/to/where/libgcc.a/is/located before the -lgcc and all was
fine then.
Thank you very much for every who has helped me on this one.
Kees Vonk
15/03/01 07:32
To: [EMAIL PROTECTED] @ gateway
cc:
Subject: SSLeay compile problems on HP-UX
I am having a problem compiling the perl module Crypt::SSLeay (and
Net::SSLeay for that) on a HP-UX 10.20 box. I am using gcc 2.8.1. I
have contacted the author of Crypt::SSLeay who suggested contacting
this list as this might be a platform compile problem. Here is the
output showing the problem. (I am sorry if this is something very
simple, but I am not a C programmer).
----------------------------------------------------------------------
------------------------------------------------------
> perl Makefile.PL
Found OpenSSL (version OpenSSL 0.9.6) installed at
/var/iefadmn/gnu/usr
Which OpenSSL build path do you want to link against?
[/var/iefadmn/gnu/usr]
================================================
BUILD INFORMATION
================================================
ssl dir: /var/iefadmn/gnu/usr
libraries: -lssl -lcrypto -lgcc -lRSAglue -lrsaref
include dir: /var/iefadmn/gnu/usr/include
ssl header: openssl/ssl.h
ssl candidate: /var/iefadmn/gnu/usr;
/var/iefadmn/gnu/usr/include/openssl; OpenSSL 0.9.6
================================================
Checking if your kit is complete...
Looks good
Note (probably harmless): No library found for -lgcc
Note (probably harmless): No library found for -lRSAglue
Note (probably harmless): No library found for -lrsaref
Writing Makefile for Crypt::SSLeay
> make
.... (no problems) ....
> make test
PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib
-I/opt/perl5/lib/5.00503/PA-RISC2.0 -I/opt/perl5/lib/5.00503 -e 'use
Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;'
t/*.t
t/ssl_context......./usr/lib/dld.sl: Unresolved symbol: __umoddi3
(code) from blib/arch/auto/Crypt/SSLeay/SSLeay.sl
/usr/lib/dld.sl: Unresolved symbol: __muldi3 (code) from
blib/arch/auto/Crypt/SSLeay/SSLeay.sl
/usr/lib/dld.sl: Unresolved symbol: __udivdi3 (code) from
blib/arch/auto/Crypt/SSLeay/SSLeay.sl
/usr/lib/dld.sl: Unresolved symbol: __eprintf (code) from
blib/arch/auto/Crypt/SSLeay/SSLeay.sl
Can't load 'blib/arch/auto/Crypt/SSLeay/SSLeay.sl' for module
Crypt::SSLeay: Unresolved external at
/opt/perl5/lib/5.00503/PA-RISC2.0/DynaLoader.pm line 169.
at blib/lib/Crypt/SSLeay/CTX.pm line 2
BEGIN failed--compilation aborted at t/ssl_context.t line 3.
dubious
Test returned status 215 (wstat 55040, 0xd700)
FAILED--1 test script could be run, alas--no output ever seen
make: *** [test_dynamic] Error 2
----------------------------------------------------------------------
-------------------------------------------------------------
Thank you very much,
Kees Vonk
PS. My apologies for the long disclaimer, but I have no control over
anything below this line.
______________________________________________________________________
The views expressed in this email are not necessarily the views of
Transco plc, and the company, its directors, officers or employees
make no representation or accept any liability for its accuracy or
completeness unless expressly stated to the contrary.
This e-mail, and any attachments are strictly confidential and
intended for the addressee(s) only. The content may also contain
legal, professional or other privileged information. If you are not
the intended recipient, could you please notify the sender
immediately and then delete the e-mail and any attachments, you
should not disclose, copy or take any action in reliance of this
transmission. Unless expressly stated to the contrary, no contracts
may be concluded on behalf of Transco plc by means of e-mail
communication.
You may report the matter by calling us on +44 (0)1455 230999.
You should not copy, forward or otherwise disclose the contents of
this e-mail or any of its attachments without express consent.
Please ensure you have adequate virus protection before you open or
detach any documents from this transmission. Transco plc does not
accept any liability for viruses.
Transco plc is part of Lattice Group
Transco plc is registered in England: Company number: 2006000
Registered Office: 130 Jermyn Street, London, SW1Y 4UR
http://www.transco.uk.com
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]