Broken symlinks in /usr/local/bin to /usr/pbi/nrpe-amd64 [solved]
-
Did an upgrade from 2.1.5 to 2.2-RC today.
nrpe-Package was 2.12_3 before, now it is 2.15_5.There are many tools in nrpe (e.q. perl) which are symlinked from /usr/local/bin.
Before the upgrade the tools were in /usr/pbi/nrpe-amd64/bin, after the upgrade they are in /usr/pbi/nrpe-amd64/local/bin but the symlinks in /usr/local/bin still point to the old location.
After changing the symlinks to the new location I get the next error, trying to run a perl script:
Shared object "libperl.so" not found, required by "perl"libperl.so is now in /usr/pbi/nrpe-amd64/local/lib/perl5/5.18/mach/CORE
Is the nrpe-package broken or my environment?
-
Ah, found it.
After adding another symlink perl works again:/usr/local/lib/perl5 -> /usr/pbi/nrpe-amd64/local/lib/perl5