Welcome to WebmasterWorld Guest from

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

Can not Install Apache 2.2.23 with OpenSLL on RHEL 6.3 64bit

Apache installation problem on 64bit RHEL6.3

6:51 pm on Dec 20, 2012 (gmt 0)

New User

5+ Year Member

joined:Mar 28, 2012
posts: 12
votes: 0

I am not able to install Apache 2.2.23 with OpenSLL on RHEL 6.3 64bit.

I downloaded and installed openssl-1.0.1c using the following command and it gets installed successfully.

make test
make install

Then I tried installing apache using the following command:

First Try.

./configure \
--with-ssl=/usr/local/ssl \
--enable-ssl \
--enable-modules="all" \
--enable-mods-shared="most" \

I am getting the following error during the configure...
configure: error: ... Error, SSL/TLS libraries were missing or unusable

Second Try.

[b]export LDFLAGS=-ldl[/b]
./configure \
--with-ssl=/usr/local/ssl \
--enable-ssl \
--enable-modules="all" \
--enable-mods-shared="most" \

configure goes through and I get the following error during the make command:

/usr/bin/ld: /usr/local/ssl/lib/libssl.a(s2_srvr.o): relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/local/ssl/lib/libssl.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[4]: *** [mod_ssl.la] Error 1
make[4]: Leaving directory `/usr/local/src/httpd-2.2.23/modules/ssl'
make[3]: *** [shared-build-recursive] Error 1
make[3]: Leaving directory `/usr/local/src/httpd-2.2.23/modules/ssl'
make[2]: *** [shared-build-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/httpd-2.2.23/modules'
make[1]: *** [shared-build-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/httpd-2.2.23'
make: *** [all-recursive] Error 1

Please Help.