|Subject:||No portable way to install files to /usr/local/lib or /usr/lib|
Unfortunately there is no portable way to install files to the FHS-defined paths /usr/local/lib or /usr/lib. Installing files in /usr/local/bin ("installsitebin") or /usr/bin ("installvendorbin") is easy (for the "bin" installation target), though. I guess Module::Build can't just hard-code the FHS paths, and I know Perl doesn't provide these lib paths, but perhaps Module::Build could take the "install*bin" paths and do s/bin/lib/ (thus: "/usr/bin" --> "/usr/lib", "/usr/local/bin" --> "/usr/local/lib") and then use that for a new "syslib" installation target. References: 1.