gcc - Force Exclude /usr/lib64/perl5 Library Directory from Custom Perl Install -
i need create custom system-wide perl install on centos machine. don't want use perlbrew want alter config variables myself, plus same linkage problems.
essentially, cannot figure out how compile perl /usr/lib64/perl5 not included linker or in @inc. old centos version, , sucks. no matter how compile though, perl -v
yeilds this:
@inc: /usr/local/lib64/perl5 /usr/lib64/perl5/vendor_perl /usr/local/perl5/lib/site_perl/5.16.3/x86_64-linux-thread-multi-ld /usr/local/perl5/lib/site_perl/5.16.3 /usr/local/perl5/lib/5.16.3/x86_64-linux-thread-multi-ld /usr/local/perl5/lib/5.16.3
and when run, insane library errors this: undefined symbol: perl_gthr_key_ptr
libraries inside /usr/lib64/perl5.
note perl5lib has no effect on this, compiled in.
thanks.
in order remove directory @inc
, can use no lib
. example,
no lib "/usr/lib64/perl5/";
would remove /usr/lib64/perl5/
directory @inc
.
for more, try perldoc lib
.
Comments
Post a Comment