Re: Getting OpenSSL with Apache

2002-02-02 Thread Bear Giles

 Cannot load /usr/local/apache_test/libexec/libssl.so into server

Have you verified that the usual symbolic links exist?

/usr/local/apache_test/libexec/libssl.so - libssl.so.0
/usr/local/apache_test/libexec/libssl.so.0 - libssl.so.0.9.6

and that the actual file is readable, non-empty, etc.?

 Where does the system search for libssl.so.0.9.6?

Whereever it's told to. :-)  Linux uses ld.so.conf; I don't recall
what Solaris uses for the same purpose.

But the error message suggests that it's looking in the right 
place, but some symbolic links are missing.
__
OpenSSL Project http://www.openssl.org
User Support Mailing List[EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]



Re: Getting OpenSSL with Apache

2002-02-02 Thread Bear Giles

Following up on my earlier comments

  Cannot load /usr/local/apache_test/libexec/libssl.so into server

The fact that I missed this at first is proof that programmers 
shouldn't work when still running a fever.  Even a low grade one,
if it's following a 40C monster.

libexec is normally used by the shared libraries used by Apache
modules, not by system libraries.  mod_ssl is a weird beast, but
if you compiled it to use the system SSL library you should probably
make sure that openssl is set up in some system library.

The fastest way to do this may be to forget about Apache entirely
for now - get a simple program like:

  #include openssl/crypto.h

  int main()
  {
 (void) OPENSSL_malloc(1024);
 return 0;
  }

to compile and run.  That will assure you that the SSL library
(or at least the -lcrypto part of it) is properly installed.  Once
you know this, you'll know any remaining issues are mod_ssl or
Apache specific.
__
OpenSSL Project http://www.openssl.org
User Support Mailing List[EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]



Re: Getting OpenSSL with Apache

2002-02-02 Thread Keary Suska

on 2/1/02 2:22 PM, [EMAIL PROTECTED] purportedly said:

 Cannot load /usr/local/apache_test/libexec/libssl.so into server
 
 Have you verified that the usual symbolic links exist?
 
 /usr/local/apache_test/libexec/libssl.so - libssl.so.0
 /usr/local/apache_test/libexec/libssl.so.0 - libssl.so.0.9.6
 
 and that the actual file is readable, non-empty, etc.?
 
 Where does the system search for libssl.so.0.9.6?
 
 Whereever it's told to. :-)  Linux uses ld.so.conf; I don't recall
 what Solaris uses for the same purpose.
 
 But the error message suggests that it's looking in the right
 place, but some symbolic links are missing.

Actually, this is a confusing issue with mod_ssl. Mod_ssl creates its own
dso for Apache, which it happen to call libssl.so. This is not the same as
or has any relation to (besides possibly loading) the openssl shared library
by the same name.

If the mod_ssl dso exists in the required location, there was a problem with
the compile, and there should be more log entries describing why it can't be
loaded.

Keary Suska
Esoteritech, Inc.
Leveraging Open Source for a better Internet

__
OpenSSL Project http://www.openssl.org
User Support Mailing List[EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]