>>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<<
On 10/12/01, 3:11:12 PM, "Mark J. de Jong" <[EMAIL PROTECTED]> wrote
regarding Apache mod-ssl on Solaris 8 problem... PLAIN TEXT.:
> Sorry for the HTML!
I haven't seen my answer to you as yet. Guess it was because it wasn't in
plain text as well. Too bad the formatting was nice and I forgot to
switch to PLAIN TEXT when replying to a mailing list. Mea culpa.
> Hello,
> I'm having problems getting mod-ssl to work as an Apache DSO on Solaris
> 8. I've installed in numerous times on Linux and BSD without a glitch.
> I've followed the instructions to a T and have searched all over the web
> for an answer but couldn't find a suitable solution. Either case, here's
> the problem..
> After compiling and installing openssl with all defaults I run
> ./configure -with-apache=../apache.X, compile apache with using
> -enable-module & --enable-share for ssl plus some other args. The
> compile runs without a glitch along with install but when I try to run
> "apachectl startssl" I get the following error:
> # /usr/local/apache/bin/apachectl startssl
> Syntax error on line 206 of /etc/httpd/httpd.conf:
> Cannot load /usr/local/apache/libexec/libssl.so into server: ld.so.1:
> /usr/local/apache/bin/httpd: fatal: relocation error: file
> /usr/local/apache/libexec/libssl.so: symbol ap_user_id: referenced
> symbol not found
> /usr/local/apache/bin/apachectl startssl: httpd could not be started
> Is there something I am missing specific to Solaris? I have exhausted
> all my resources! Please help!!
I think you are lauching apache as root. Solaris is touchy about using
libraries that are located in untrusted directories, /usr/local being one
of the untrusted ones and /usr/lib being trusted.
There are a number of ways to overcome this problem:
a) Compile and link using ld(1)'s -R flag
b) Build statically
c) Try using clri() to set things up. This is similar to linux' /etc/ldd
facility.
There are likely other ways as well but not from me at this moment;-)
Luck
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]