On Fri, Mar 16, 2001 at 08:49:55AM +0000, [EMAIL PROTECTED] wrote:
> Lutz Jaenicke wrote:
> > > libraries: -lssl -lcrypto -lgcc -lRSAglue -lrsaref
> > ...
> > > Note (probably harmless): No library found for -lgcc
> > ...
> >
> > > 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
> >
> > These routines are resolved via the gcc library, which cannot be
> found
> > by the perl environment. Typically, it should be found at a place
> similar to
> > /GCC-MAINPATH/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.8.1/libgcc.a
> >
> > It however may make additional trouble that libgcc.a is not a
> shared but
> > a static library, so that dld.sl cannot load load it.
>
> libgcc.a is indeed where you say it should be, what should I do so I
> will be found. Is there anyway in linking it statically or creating a
> shared libgcc?.
A shared library cannot be linked against a static lib.
I have never tried to build a shared libgcc, I also don't know why it is
not automatically built.
I don't know what kind of software you have on your system. HP's ANSI C
compiler does not exhibit this problem, so I would recommend you to rebuild
the OpenSSL library with HP's compiler. (I have seen the same problem
with mysql and other applications offering library interfaces, so I
recommend building these libraries using HP's compiler. I do build everything
with it.) If you don't have native compiler, you can download 0.9.6
binaries for HP-UX 10.20 from my site via
http://www.aet.tu-cottbus.de/personen/jaenicke/postfix_tls
or directly from
ftp://ftp.aet.tu-cottbus.de/pub/postfix_tls/related/openssl-bin/
That's the best advice I can give. Maybe someone more familiar with the
specical properties of Perl knows another way around this problem.
Best regards,
Lutz
--
Lutz Jaenicke [EMAIL PROTECTED]
BTU Cottbus http://www.aet.TU-Cottbus.DE/personen/jaenicke/
Lehrstuhl Allgemeine Elektrotechnik Tel. +49 355 69-4129
Universitaetsplatz 3-4, D-03044 Cottbus Fax. +49 355 69-4153
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]