@INC inconsistency

Kenneth Ingham ingham at i-pi.com
Thu Jun 21 17:54:20 UTC 2018


Fresh install of perl5-5.26.2 after a disaster in pkg upgrade breaking
all perl code.  I removed everything associated with or using perl and
reinstalled, all using pkg .

Problem 1 is that it needs libperl.so.5.24.4 which is not installed as a
dependency.  I installed perl5.24-5.24.4 which made it happy.

Problem 2 is that p5-DBI-1.641 installs in
/usr/local/lib/perl5/site_perl/mach/5.26/.  However, perl's @INC is:
    /usr/local/lib/perl5/site_perl/mach/5.24
    /usr/local/lib/perl5/site_perl
    /usr/local/lib/perl5/5.24/mach
    /usr/local/lib/perl5/5.24
    .
Note that the 5.26 dir is missing.

10.4-RELEASE-p9
--
Kenneth Ingham

A people that values its privileges above its principles soon loses both.
---Dwight D. Eisenhower, First Inaugural Address, January 20, 1953




More information about the freebsd-perl mailing list