Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Broken symlinks in /usr/local/bin to /usr/pbi/nrpe-amd64 [solved]

    2.2 Snapshot Feedback and Problems - RETIRED
    1
    2
    1.2k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      bl0815
      last edited by

      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?

      1 Reply Last reply Reply Quote 0
      • B
        bl0815
        last edited by

        Ah, found it.
        After adding another symlink perl works again:

        /usr/local/lib/perl5 -> /usr/pbi/nrpe-amd64/local/lib/perl5

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.