DeveloperSide.NET Forums
December 14, 2019, 11:38:47 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Problems with starting Apache2 + SSL on Linux  (Read 8994 times)
0 Members and 1 Guest are viewing this topic.
Jarmak
Guest
« on: September 11, 2003, 10:30:44 PM »

Hello,

I have a problems with starting Apache2 + SSL on my Linux server (RH9).

I installed and configured openssl and apache2 as is described on www.devside.net

When I tried to start my server with SSL I got an error:


Syntax error on line 245 of /usr/local/apache2/conf/httpd.conf:
Cannot load /usr/local/apache2/modules/mod_ssl.so into server: /usr/local/apache2/modules/mod_ssl.so: undefined symbol: X509_free

but



start O.K.

What can be a reason of that error?

Best regards,

Jarek
Logged
Anonymous
Guest
« Reply #1 on: September 12, 2003, 12:23:12 AM »

That happens when you build OpenSSL as a static lib, and have apache load is as a dynamic module.

When you built openssl, did you do this:

.../openssl-0.9.7b]# ./config shared ...

Did you put in the "shared", as the instructions say?

If you did, than you most likely have an older OpenSSL that came with your distro, and you did not "Update the Run-time Linker".
Logged
Anonymous
Guest
« Reply #2 on: June 22, 2004, 12:05:33 AM »

i did

that didnt help..

d# ls -la  /usr/local/ssl/lib/
total 3478
drwxr-xr-x  3 root  wheel      512 Jun 21 19:49 .
drwxr-xr-x  9 root  wheel      512 Jun 21 19:49 ..
-rw-r--r--  1 root  wheel  1793528 Jun 21 19:49 libcrypto.a
lrwxr-xr-x  1 root  wheel       14 Jun 21 19:49 libcrypto.so -> libcrypto.so.0
lrwxr-xr-x  1 root  wheel       18 Jun 21 19:49 libcrypto.so.0 -> libcrypto.so.0.9.7
-r-xr-xr-x  1 root  wheel  1153876 Jun 21 19:49 libcrypto.so.0.9.7
-rw-r--r--  1 root  wheel   283128 Jun 21 19:49 libssl.a
lrwxr-xr-x  1 root  wheel       11 Jun 21 19:49 libssl.so -> libssl.so.0
lrwxr-xr-x  1 root  wheel       15 Jun 21 19:49 libssl.so.0 -> libssl.so.0.9.7
-r-xr-xr-x  1 root  wheel   216234 Jun 21 19:49 libssl.so.0.9.7
drw-r--r--  2 root  wheel      512 Sep 16  2003 pkgconfig
d#
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.9 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!