Dan Axtell wrote:
You will need to compile perl with -fPIC on x86_64, I think I did it with:

ccflags='-fPIC' sh Configure -Dprefix /path to perl

I can't remember _exactly_ if that was it though.  The other options
would be to manually the edit the Makefiles but I don't remember having
to do that.


OK, I've gone through the Configure process several times. With the latest, I'm able to make, test and install Perl but it won't run anything, much less build mod_perl, as it gives this error:

Attempt to free unreferenced scalar: SV 0xb4e570 at Makefile.PL line 34.
BEGIN failed--compilation aborted at Makefile.PL line 34.

I've built Perl with no threads, dynamic loading, DynaLoader is using dl_dlopen, -fPIC, and shared libperl.so. I've tried building it without dynamic loading, but it won't build.
I've tried building Perl with no dynamic loading, same results.

Any ideas?

Can you post some of the commands you are using? Are you removing the installed libraries after a failed try (I always nuke the install directory if it didn't work just so .so's don't hand around and cause trouble).

Here are my journal notes from a previous install - http://use.perl.org/~Phred/journal/31581

The line "You have to specify /usr/lib64 as an additional library path (important!)" seems to indicate an important step, but it has been a while.

On my -fpic install, I did not build libperl.so.

Reply via email to