Link to home
Start Free TrialLog in
Avatar of sightandsound
sightandsound

asked on

Compiling Apache with mod_ssl cannot find modile 'ssl'

I'm compiling Apache 1.3.34 with an updated openssl 0.9.8b and mod_ssl 2.8.25-1.3.34 to fix the open_ssl vulnerability.  The Linux is 7.2.  I'm getting the error "No such module named 'ssl'" when I go to compile mod_ssl using the following command:
 ./configure --with-apache=../apache_1.3.34 --with-ssl=../openssl-0.9.8b --prefix=/usr/local/apache.  I've tried putting in different paths, copying the mod_ssl.c and mod_ssl.h to various directories.  I just don't know what it wants.  I'm not an advanced user . . .
Avatar of sleep_furiously
sleep_furiously

Did you run the configure in mod_ssl source package before you tried to run the one for Apache?
Avatar of sightandsound

ASKER

I was running ./configure --with-apache=../apache_1.3.34 --with-ssl=../openssl-0.9.8b --prefix=/usr/local/apache from within the mod_ssl install directory.
If I just try to compile Apache with the --enable-module=ssl I get the same error so it must have something to do with just Apache.  There is a modules/ssl directory within the apache install folder.
If I change the --enable-module=ssl to include the path ... --enable-module=modules/ssl I get a different message:
./configure: module_modules/ssl=yes: No such file or directory
The 'yes' response seems to be indicating that it is finding the ssl module, but now there is another error.
ASKER CERTIFIED SOLUTION
Avatar of bimal_linux
bimal_linux

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Using the latest versions fixed everything!  The ones I were using were not that old, but it made a big difference.  Thanks.