Re: Compiling with Apache 2.4

Ruben Safir <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <[email protected]>
On Sat, Sep 30, 2017 at 08:27:22PM -0400, John D Groenveld wrote:
> In message <[email protected]>, Ruben Safir wri
> tes:
> >/usr/local/lib/perl5/5.26.1/x86_64-linux-thread-multi/CORE/libperl.a(op.o):
> >relocation R_X86_64_PC32 against symbol `PL_opargs' can not be used when
> >making a shared object; recompile with -fPIC
> 
> $ perl -V
> 
> Looks like your Perl build is statically linked and multi-threaded
> while your Apache is pre-fork and you intend to build mod_perl
> as a DSO.
> 
> John
> [email protected]



Yes!  I rebuilt it for threads and shared.  Different docs say different
things.  I tried to rebuild it with the ithread option and that option
is now Dusethread no longer Duseithread.  I think there was also a
problem building it for 64 bits and I had to use an envar for CFLAG for
64 bits.  I think these items need to get into the docs.

[ruben@www3 ~]$ perl -v

This is perl 5, version 26, subversion 1 (v5.26.1) built for
x86_64-linux-thread-multi


-- 
So many immigrant groups have swept through our town
that Brooklyn, like Atlantis, reaches mythological
proportions in the mind of the world - RI Safir 1998
http://www.mrbrklyn.com 

DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002
http://www.nylxs.com - Leadership Development in Free Software
http://www2.mrbrklyn.com/resources - Unpublished Archive 
http://www.coinhangout.com - coins!
http://www.brooklyn-living.com 

Being so tracked is for FARM ANIMALS and and extermination camps, 
but incompatible with living as a free human being. -RI Safir 2013
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.