Perl - Cross-LFS Multilib

Jim Gifford lfs at
Wed Oct 26 19:50:48 PDT 2005

Matt, Ken, Joe, and Fellow LFS-Dev's

I have been researching this issue, I've been using fedora as a basis, 
they only build one version of perl. Here's what I've been looking at.

They use this patch

Add these lines to the Configure line

-Dlibpth="/usr/local/lib64 /lib64 /usr/lib64" \
-Dprivlib="/usr/lib/perl5/%{version}" \
-Dsitelib="/usr/lib/perl5/site_perl/%{version}" \
-Dvendorlib="/usr/lib/perl5/vendor_perl/%{version}" \
-Darchlib="%{_libdir}/perl5/%{perlver}/%{_arch}-%{_os}%{thread_arch}" \
-Dsitearch="%{_libdir}/perl5/site_perl/%{perlver}/%{_arch}-%{_os}%{thread_arch}" \
-Dvendorarch="%{_libdir}/perl5/vendor_perl/%{perlver}/%{_arch}-%{_os}%{thread_arch}" \

Translated for Cross-LFS would be.

-Dlibpth="/usr/local/lib64 /lib64 /usr/lib64" \
-Dprivlib="/usr/lib/perl5/5.8.7" \
-Dsitelib="/usr/lib/perl5/site_perl/5.8.7" \
-Dvendorlib="/usr/lib/perl5/vendor_perl/5.8.7" \
-Darchlib="/usr/lib/perl5/5.8.7/x86_64-linux" \


jim at
lfs at

LFS User # 2577
Registered Linux User # 299986

More information about the lfs-dev mailing list