Java Mailing List Archive

http://www.apache-httpd.com/

Home » modperl.perl »

Re: Error: `PL_sv_yes' can not be used when making a shared object; recompile with -fPIC

David E. Wheeler

2010-02-24

Replies: Find Java Web Hosting

Author LoginPost Reply
On Feb 24, 2010, at 12:07 AM, Fred Moyer wrote:

> Haven't tried with 5.10.1, but here's my 5.8.8/2.0.4/2.2.8 settings:
>
> perl -V | grep -i fpic
>   cc='cc', ccflags ='-fPIC -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm',
>   cppflags='-fPIC -I/usr/include/gdbm'
>   cccdlflags='-fpic', lddlflags='-shared'
>
> Have you tried passing -fPIC at perl configure time when it asks for
> additional CFLAGS?

I've been using -des, but I'll have a look at it. How are you configuring?

Best,

David

©2008 apache-httpd.com - Jax Systems, LLC, U.S.A.