Thanks that helped me figure out what broke.

I used to run perlbrew with -Accflags=-fPIC which I foolishly assumed is
not required. Adding it back got me through !

It's a different matter why perl doesn't use that by default since I do see
it is set by default under Dynamic Linking for cccdlflags.

Do note I did not have to use -Duseshrplib - I assume my
-Duserelocatableinc did whatever was necessary.



On Sun, Nov 30, 2025, 1:05 PM Edward J. Sabol <[email protected]>
wrote:

> On Nov 30, 2025, at 4:01 AM, Mithun Bhattacharya <[email protected]> wrote:
> > This is blowing up for -fPIC which I see both the Perl and Apache builds
> are using - am I missreading the error ?
>
> It's saying your Perl (specifically libperl.a) wasn't built with -fPIC. My
> googling suggests that you add "-Duseshrplib -Dccflags=-fPIC" to your
> "perlbrew install" command.
>
> Hope this helps,
> Ed
>
>

Reply via email to