You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Mangesh Sawant <m....@gmail.com> on 2013/07/22 11:34:01 UTC

[users@httpd] Re: Compiling libmain.a as libmain.so in HTTPDSRC2.2.7 on 64 bit Linux machine.

Issue resolved after adding CFLAGS="-fpic" to configure command.

Thanks And Regards ,
Mangesh Sawant .


On Mon, Jul 22, 2013 at 11:49 AM, Mangesh Sawant <m....@gmail.com>wrote:

> Compiling HTTPDSRC2.2.7 sources on 64 bit machine. There is no issue with
> compilation.
> When I try to link libmain.a with my xyz.so I get error saying  xyz.so can
> not link to   libmain.a, recompile  libmain.a  as  libmain.so.
> Facing this problem only on 64 bit machines.
> On 32 bit machine there is no issue.
>
> Is it possible to build  libmain.a  as  libmain.so, if yes what would be
> configuration options?
>
>
> Thanks And Regards ,
> Mangesh Sawant .
>