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

"David E. Wheeler" <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <[email protected]>
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
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.