httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Iliffe <john.ili...@iliffe.ca>
Subject Re: [users@httpd] Re: mod ssl
Date Mon, 14 Apr 2014 15:17:15 GMT
Basil:

I pretty much followed the Apache INSTALL documentation except as noted in 
this thread.

Before you install Apache you have to install PCRE if you don't already 
have it (I installed pcre-8.32 a couple of years ago) and OpenSSL.  I put 
them in /usr under their own sub directory (/usr/pcre-8.32 and 
/usr/openssl-1.0.1g).  Then when you compile Apache let the compiler know 
where they both are.  For example, --with-ssl=/usr/openssl-1.0.1g)  The 
issue I encountered was simply that the path included in the "with-ssl" 
parameter was not passed to the resulting DSO module as expected.  The 
resulting traffic gives several ways to resolve this, most of them better 
than what I came up with.

At a guess, you either don't have PCRE installed or didn't give Apache the 
path.  But there are people who know a whole lot more about how all this 
fits than me!   (PCRE is the Perl regular expression library and is required 
by Apache.  It is described somewhere in the INSTALL docs).

Good luck!

John
===================================
On Monday 14 April 2014 02:17:26 Basil wrote:
> John Iliffe <john.iliffe <at> iliffe.ca> writes:
> > I am compiling Apache-2.4.9 from source with the new openssl 1.0.1g. 
> > So far everything looks good EXCEPT that Apache won't start.  After
> > making a number of tweaks to the configuration, I'm stuck.  The error
> > from httpd -t is:
> > 
> > httpd: Syntax error on line 130 of /usr/apache-2.4.9/conf/httpd.conf:
> > Cannot load modules/mod_ssl.so into server: libssl.so.1.0.0: cannot
> > open shared object file: No such file or directory
> > 
> > I compiled with:
> > 
> > "./configure" \
> > "--prefix=/usr/apache-2.4.9" \
> > "--with-included-apr" \
> > "--with-pcre=/usr/pcre-8.32" \
> > "--with-ssl=/usr/openssl-1.0.1g" \
> > 
> > and the modules/ directory has the following partial listing:
> > 
> > -rwxr-xr-x 1 root root    35192 Apr 10 20:23 mod_socache_memcache.so
> > -rwxr-xr-x 1 root root    66857 Apr 10 20:23 mod_socache_shmcb.so
> > -rwxr-xr-x 1 root root    36732 Apr 10 20:23 mod_speling.so
> > -rwxr-xr-x 1 root root   826891 Apr 10 20:23 mod_ssl.so
> > -rwxr-xr-x 1 root root    61870 Apr 10 20:23 mod_status.so
> > -rwxr-xr-x 1 root root    42570 Apr 10 20:23 mod_substitute.so
> > 
> > Note that mod_ssl.so is third from the bottom.  I'm assuming that
> > there is some problem with the way I compiled openssl but it doesn't
> > save a copy of the command line.  Here is what I "think" I used:
> > 
> > ./configure --prefix=/usr/openssl-1.0.1g share
> > 
> > which worked OK when I compiled Apache.
> > 
> > I'm sure if I weren't in such an all-fired hurry I could figure this
> > out
> 
> but
> 
> > I would ask anyone who has already done this update to help me out
> > here.
> > 
> > Thanks in advance.
> > 
> > John
> 
> Dear John,
> 
> Can u please let me know how you compiled httpd 2.4.9 with
> openssl1.0.1g?! When I tried the same, it is showing
> make[2]: *** [util_pcre.lo] Error 1
> make[1]: *** [all-recursive] Error 1
> 
> My cat /proc/version:
> 
> Linux version 2.6.21.7-2.fc8xen
> (mockbuild@xenbuilder1.fedora.redhat.com) (gcc version 4.1.2 20070925
> (Red Hat 4.1.2-33)) #1 SMP Fri Feb 15 12:39:36 EST 2008
> 
> Please assist.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message