Question: is the .so that it is compiling against when building the same one that is
being linked at runtime? There could be a disconnect in the two binaries if it's not,
which could explain the seg fault.
Nick
*********** REPLY SEPARATOR ***********
On 10/30/2001 at 3:34 AM Dean Hall wrote:
>> > Actually, I think Sang Yi has a point. I've never heard of anyone
>using
>> > RPM for openssl then compiling mod_ssl and apache from source. It
>sounds
>> > like a recipe for disaster to me...
>
>> I'm installing openssl from RPM because several RPMs in RedHat 7.2
>require
>> the package -- that's basically it. I wouldn't mind compiling everything
>> from source -- but then I should probably be using FreeBSD. :-) Well, the
>> main issue is that other RPMs require the openssl RPM. I suppose I could
>> just `./configure; make` without `make install` and then point apache's
>> configure to the source tree/libraries in that directory. I just hadn't
>> thought of it. I gotta keep openssl installed as an RPM, though.
>
>Well, I tried compiling openssl from source like so:
>
>./config no-idea no-threads -fPIC; make; make test
>
>(as per the INSTALL.SSL in the Apache distro)
>
>I configured mod_ssl like this:
>
>./configure \
> --with-apache=../$APACHE \
> --with-ssl=../$OPENSSL \
> --with-mm=../$MM \
> --enable-shared=ssl
>
>And Apache like this:
>
>SSL_BASE=../$OPENSSL \
>EAPI_MM=../$MM \
>./configure \
> --enable-module=ssl \
> --enable-shared=ssl \
> --prefix=/usr/local/apache \
> --enable-module=rewrite \
> --enable-shared=rewrite \
> --enable-rule=SHARED_CORE \
> --enable-rule=SHARED_CHAIN \
> --enable-module=so
>make; make certificate
>make install
>
>($OPENSSL, $APACHE, and $MM all resolve properly)
>
>And still got a seg fault when running `/usr/local/apache/bin/apachectl
>startssl` ("start" segfaults too). Any ideas?
>
>Dean Hall.
>
>______________________________________________________________________
>Apache Interface to OpenSSL (mod_ssl) www.modssl.org
>User Support Mailing List [EMAIL PROTECTED]
>Automated List Manager [EMAIL PROTECTED]
m
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]