Re: error compiling 2.0.7

Fred Moyer <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <CAHrynWA9j9ngswkt=EVsCrRK--i9W_4cscM5tNjfjvrL7FXwbw@mail.gmail.com>
On Mon, Jul 23, 2012 at 9:59 AM, Jiří Pavlovský <[email protected]> wrote:
> I'm trying (unsuccessfully)  to compile 2.0.7 with perl-5.16 and
> httpd-2.2.22. The error is below. I have a perl compiled with fPIC. I put
> fPIC into LDFLAGS when compiling mod_perl.
> Anyway to make this work?

Are you sure it is compiled with -fPIC? Can you post 'perl -V'?


>
>
> /usr/bin/ld: /opt/perl/lib/5.16.0/x86_64-linux/CORE/libperl.a(op.o):
> relocation R_X86_64_32S against `PL_sv_yes' can not be used when making a
> shared object; recompile with -fPIC
> /opt/perl/lib/5.16.0/x86_64-linux/CORE/libperl.a: could not read symbols:
> Bad value
>
> --
> Jiří Pavlovský
>
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.