You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Harsimranjit singh Kler <si...@gmail.com> on 2011/11/04 12:04:51 UTC

[users@httpd] Unable to Compile and install Httpd 2.2.17 when enabling openssl

hi

i want to enable SSL module along with apache but failed.

i have done following:

1)downloaded openssl-0.9.8k.tar and installed open ssl libararies at
"/usr/local/ssl".


2)Similar downloded fresh setup of httpd-2.2.17.tar.gz

3)running following commands but 'make' throw error:

i)./configure --prefix=/tmp/balancer --enable-mods-shared=all
--with-mpm=worker --disable-cgi --enable-ssl --with-ssl=/usr/local/ssl/
--enable-setenvif

ii)make

--
---
_module
/usr/bin/ld: /usr/local/ssl/lib/libssl.a(s2_srvr.o): relocation R_X86_64_32
against `a local symbol' 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 `/tmp/httpd-2.2.17/modules/ssl'
make[3]: *** [shared-build-recursive] Error 1
make[3]: Leaving directory `/tmp/httpd-2.2.17/modules/ssl'
make[2]: *** [shared-build-recursive] Error 1
make[2]: Leaving directory `/tmp/httpd-2.2.17/modules'
make[1]: *** [shared-build-recursive] Error 1
make[1]: Leaving directory `/tmp/httpd-2.2.17'
make: *** [all-recursive] Error 1
---


installation is successfull if i am running
:./configure --prefix=/opt/nsn/ccsf/applications/balancer --with-mpm=worker
--disable-cgi --enable-ssl --with-ssl=/usr/local/ssl/  --enable-setenvif



please help me out what is right way to enble ssl if i have missed anything?

regards
harsimran

Re: [users@httpd] Unable to Compile and install Httpd 2.2.17 when enabling openssl

Posted by Harsimranjit singh Kler <si...@gmail.com>.
Hi
Thanks for reply

Where i can get that and how to configure.i am not much familiar with  SSL
Configurations
Help me


regards
Harsimran

On Fri, Nov 4, 2011 at 4:39 PM, Nick Kew <ni...@webthing.com> wrote:

> On Fri, 4 Nov 2011 16:34:51 +0530
> Harsimranjit singh Kler <si...@gmail.com> wrote:
>
> What's not clear about
>
> > /usr/bin/ld: /usr/local/ssl/lib/libssl.a(s2_srvr.o): relocation
> R_X86_64_32 against `a local symbol' can not be used when making a shared
> object; recompile with -fPIC
>
> You need a dynamically-loadable build of your SSL library.
> Most operating systems come with one out-of-the-box,
> or installable through the package manager.
>
> --
> Nick Kew
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>

Re: [users@httpd] Unable to Compile and install Httpd 2.2.17 when enabling openssl

Posted by Eric Covener <co...@gmail.com>.
On Fri, Nov 4, 2011 at 4:52 PM, Harsimranjit singh Kler
<si...@gmail.com> wrote:
> any update on this?

As of this afternoon, zero interested parties have searched the web
for an answer.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Unable to Compile and install Httpd 2.2.17 when enabling openssl

Posted by Harsimranjit singh Kler <si...@gmail.com>.
any update on this?

On Fri, Nov 4, 2011 at 4:39 PM, Nick Kew <ni...@webthing.com> wrote:

> On Fri, 4 Nov 2011 16:34:51 +0530
> Harsimranjit singh Kler <si...@gmail.com> wrote:
>
> What's not clear about
>
> > /usr/bin/ld: /usr/local/ssl/lib/libssl.a(s2_srvr.o): relocation
> R_X86_64_32 against `a local symbol' can not be used when making a shared
> object; recompile with -fPIC
>
> You need a dynamically-loadable build of your SSL library.
> Most operating systems come with one out-of-the-box,
> or installable through the package manager.
>
> --
> Nick Kew
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>

Re: [users@httpd] Unable to Compile and install Httpd 2.2.17 when enabling openssl

Posted by Nick Kew <ni...@webthing.com>.
On Fri, 4 Nov 2011 16:34:51 +0530
Harsimranjit singh Kler <si...@gmail.com> wrote:

What's not clear about

> /usr/bin/ld: /usr/local/ssl/lib/libssl.a(s2_srvr.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC

You need a dynamically-loadable build of your SSL library.
Most operating systems come with one out-of-the-box,
or installable through the package manager.

-- 
Nick Kew

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org