Results 1 to 5 of 5
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.
Code:
./config
...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 12-12-2012 #1Just Joined!
- Join Date
- Mar 2012
- Posts
- 16
Can not Install Apache 2.2.23 with OpenSLL on RHEL 6.3 64bit
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.
Then I tried installing apache using the following command:Code:./config make make test make install
First Try.
Second Try.Code:/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
Code:export LDFLAGS=-ldl /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.
- 12-14-2012 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 10,233
When you run ./configure, by default the installation directory is /usr/local and your LD_LIBRARY_PATH is not setup to look there. You need to run configure like this (before building and installing): ./configure --prefix=/usr
Then run make and make install.Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 12-17-2012 #3Just Joined!
- Join Date
- Mar 2012
- Posts
- 16
Appreciate your response. I do not want to install apache in /usr directory. I would like to install it in a /usr/local/apache2 directory which is a default location. I also tried mentioning --prefix=/usr/local/apache2 but it did not help.
How can i check what is the value of LD_LIBRARY_PATH and secondly, how to inform apache isntallation process about it?
- 12-20-2012 #4Just Joined!
- Join Date
- Mar 2012
- Posts
- 16
Come one Apache Gurus....!!! Anyone ...???
- 12-27-2012 #5Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 10,233
You need to set your LD_LIBRARY_PATH as well as other environment variables in order for your installation to work. The Apache documentation should help with this.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!


Reply With Quote

