You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Billy Bacon <bi...@billybacon.com> on 2004/04/09 18:17:13 UTC
[users@httpd] Error trying to start apache with ssl
I'm receiving the following error when I try to start Apache with SSL via this command:
/usr/local/apache2/bin/apachectl startssl
Syntax error on line 44 of /usr/local/apache2/conf/httpd.conf:
Cannot load /usr/local/apache2/modules/mod_ssl.so into server: ld.so.1: /usr/local/apache2/bin/httpd: fatal:
relocation error: file /usr/local/apache2/modules/mod_ssl.so: symbol X509_free: referenced symbol not found
My /usr/local/apache2/bin/envvars file looks like this....
LD_LIBRARY_PATH="/usr/local/apache2/lib:/usr/local/apache2/modules:/usr/local/ssl/lib:$LD_LIBRARY_PATH"
export LD_LIBRARY_PATH
Can someone point me in the right direction?
Thanks!
- Billy -
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] Error trying to start apache with ssl
Posted by Joe Orton <jo...@redhat.com>.
On Fri, Apr 09, 2004 at 09:17:13AM -0700, Billy Bacon wrote:
> I'm receiving the following error when I try to start Apache with SSL via this command:
> /usr/local/apache2/bin/apachectl startssl
>
>
> Syntax error on line 44 of /usr/local/apache2/conf/httpd.conf:
> Cannot load /usr/local/apache2/modules/mod_ssl.so into server: ld.so.1: /usr/local/apache2/bin/httpd: fatal:
> relocation error: file /usr/local/apache2/modules/mod_ssl.so: symbol X509_free: referenced symbol not found
It's a bug in 2.0: you can only use a shared mod_ssl module if you build
OpenSSL shared libraries: see the OpenSSL install documentation for how
to do that.
So, either build OpenSSL shared libraries or use a statically-linked
mod_ssl.
Regards,
joe
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] Error trying to start apache with ssl
Posted by Milan Andric <ma...@eecs.berkeley.edu>.
On Fri, Apr 09, 2004 at 09:17:13AM -0700, Billy Bacon wrote:
> I'm receiving the following error when I try to start Apache with SSL via this command:
> /usr/local/apache2/bin/apachectl startssl
>
>
> Syntax error on line 44 of /usr/local/apache2/conf/httpd.conf:
> Cannot load /usr/local/apache2/modules/mod_ssl.so into server: ld.so.1: /usr/local/apache2/bin/httpd: fatal:
> relocation error: file /usr/local/apache2/modules/mod_ssl.so: symbol X509_free: referenced symbol not found
>
> My /usr/local/apache2/bin/envvars file looks like this....
>
> LD_LIBRARY_PATH="/usr/local/apache2/lib:/usr/local/apache2/modules:/usr/local/ssl/lib:$LD_LIBRARY_PATH"
> export LD_LIBRARY_PATH
>
> Can someone point me in the right direction?
did you try recompiling?
what compiler did you use?
what version of apache?
it doesn't look like an LD issue ...
what does ldd /usr/local/apache2/bin/httpd return?
--
Milan
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org