SUMMARY: Apache 2.0 on Solaris 8

2007-12-25 4:45:00

Hi,
Well I was able to resolve this issue. It turned out to be openssl
compilation issue. The solution is:

Compile and install openssl with shared option.

My original question was:

Hi Gurus,

I downloaded apache-2.0.53 and openssl-0.9.7f source from apache/openssl
site and compiled on Solaris 8 and it went through without any errors.
It works fine without ssl but

when I start apache with ssl it gives me following error:

# ./apachectl startssl

Syntax error on line 251 of /opt/apache/conf/httpd.conf:

Cannot load /opt/apache/modules/mod_ssl.so into server: ld.so.1:
/opt/apache/bin/httpd: fatal: relocation error: file
/opt/apache/modules/mod_ssl.so: symbol X509_INFO_free: referenced symbol
not found

I used following to compile and install Apache:

./configure --prefix=/opt/apache --enable-rewrite=shared
-enable-proxy=shared --enable-ssl=shared enable-ssl
--with-ssl=/usr/local/ssl --enable-mods-shared=all

make && make install

It went fine without any errors.

Does anyone has faced this problem? Do I have to setup LD_LIBRARY_PATH?

Will summarize.

Regards

B
_______________________________________________
codeprof mailing list
codeprof at codeprof.com
http://www.codeprof.com/execute/ask/?codeinfoid=35493

Comments

Got something to say?

You must be logged in to post a comment.