homepage Welcome to WebmasterWorld Guest from 54.145.209.80
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

    
Can not Install Apache 2.2.23 with OpenSLL on RHEL 6.3 64bit
Apache installation problem on 64bit RHEL6.3
sanjivus



 
Msg#: 4529999 posted 6:51 pm on Dec 20, 2012 (gmt 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.




./config
make
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.

 

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved