David (& gang),
Well, AIX doesn't support the -KPIC or -fPIC options. I'm not finding any
tracks of someone building OPENSSL with DSO on AIX. I guess I'll have to
figure out how to build it as a DSO myself.
Thanks,
Mike
At 03:14 PM 8/2/00 -0500, David Talkington wrote:
>-----BEGIN PGP SIGNED MESSAGE-----
>
>
>mod_ssl documentation at
>
>http://www.modssl.org/source/exp/mod_ssl/pkg.mod_ssl/INSTALL
>
>has this to say:
>
>"Additionally OpenSSL has problems under DSO situations on some
>platforms. For instance under smart ix86 platforms like Linux
>and FreeBSD when you compile a the standard OpenSSL
>libcrypto.a/libssl.a libraries and link those to a mod_ssl DSO
>libssl.so all works fine. While on other platforms like Solaris
>2.6 on a SPARC OpenSSL's code will dump core under run-time.
>When this is the case for you, then try to recompile OpenSSL
>with Position Independent Code (PIC) by adding a `-fPIC' (for
>GCC) or `-KPIC' (for SVR4-style compilers) to the platform
>configuration line in OpenSSL's `Configure' script. The
>- -fPIC option above when you build OpenSSL."
>
>
>- --
>David Talkington
>Community Networking Initiative
>[EMAIL PROTECTED]
>244-1962
>
>Michael Hojnowski wrote:
>
> >Hi gang,
> >
> >It seems like this should be FAQ, but I can't find an answer. I've looked
> >through the mail list archives. I'm running:
> >
> > AIX 4.3.2
> > AIX C compiler 3.6.4.0
> > Apache 1.3.12
> > mod_ssl 2.6.5-1.3.12
> > mod_perl 1.22
> > openssl 0.9.5.a
> >
> >I can build this whole deal static, and everything works. SSL works fine
> >on my HTTPS port.
> >
> >After some fuss, I am also able to build it all as a DSO. I had to
> >manually twiddle a Perl makefile to get it to build.
> >
> >As a DSO, Apache starts fine:
> >
> > [notice] Apache/1.3.12 (Unix) ApacheJServ/1.1.1 mod_perl/1.22
> >mod_ssl/2.6.5 OpenSSL/0.9.5a configured --
> > resuming normal operations
> >
> >but when I connect to the HTTPS port, I get:
> >
> > [notice] child pid 42032 exit signal Segmentation fault (11)
> >
> >I found a hint suggesting building mod_ssl with
> >"--enable-rule=SSL_SDBM". That did not help.
> >
> >I also tried building just mod_ssl in as a static, with the rest
> >dynamic. I have the same problem. It seems I have to make my entire
> >apache build static to have mod_ssl work.
> >
> >I don't seem to be getting a core dump. I haven't done enough research to
> >figure out how to turn one on yet. Any help would be appreciated.
> >
> >Thanks,
> >Mike
> >---
> >Michael Hojnowski - Sr Prog/Analyst - Cornell University (607)
> 255-7407
> >[EMAIL PROTECTED]: http://mqh.cit.cornell.edu/~mqh/ Fax: (607)
> 255-8521
> >PGP Public Key: Can be found on my home page
> >
> >______________________________________________________________________
> >Apache Interface to OpenSSL (mod_ssl) www.modssl.org
> >User Support Mailing List [EMAIL PROTECTED]
> >Automated List Manager [EMAIL PROTECTED]
> >
>
>-----BEGIN PGP SIGNATURE-----
>Version: PGP 6.5.2
>Comment: Made with pgp4pine 1.75
>
>iQCVAwUBOYiBOvqoQuXwdgStAQEAaAQAsQeVMyHVDypvLR2PcMRjim7JCp1ad37j
>M0GRAoATfwkcRRfwB76hZwdqLzhMxMSElzL/INAwuQviYUuw7VWQK5R15aUhj8B5
>erB4igB5e3K1SZSltqr+kAEcWup3VvcAuqba4QmlOe5V/0jLBRp2n9jbk3OUr0QV
>3LcBXw2roVc=
>=2NVQ
>-----END PGP SIGNATURE-----
>
>
>______________________________________________________________________
>Apache Interface to OpenSSL (mod_ssl) www.modssl.org
>User Support Mailing List [EMAIL PROTECTED]
>Automated List Manager [EMAIL PROTECTED]
---
Michael Hojnowski - Sr Prog/Analyst - Cornell University (607) 255-7407
[EMAIL PROTECTED]: http://mqh.cit.cornell.edu/~mqh/ Fax: (607) 255-8521
PGP Public Key: Can be found on my home page
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]