Building Perl 5.8.8 on x86_64

I’ve been having a bear of a time building Perl 5.8.8 on x86_84. After much Googling and trying to recreate the build parameters that Red Hat used for the supplied 5.8.5, I finally stumbled on the answer.

Basically, the Configure script isn’t smart enough to guess the lib directories for x86_64 are all stored under /lib64, /usr/lib64, or /usr/local/lib64.

So to build Perl, bypassing the interactive mode:

sh Configure -des -Dlibpth=”/usr/local/lib64 /lib64 /usr/lib64″

Leave a Reply