Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dyld: Library not loaded: /usr/local/opt/gettext/lib/libintl.8.dylib #1

Open
ghost opened this issue Apr 8, 2015 · 13 comments
Open

Comments

@ghost
Copy link

ghost commented Apr 8, 2015

Trying to run any plugin, I get the following error on OS X 10.8.5:

$ /usr/nagios/plugins/check_ssh 
dyld: Library not loaded: /usr/local/opt/gettext/lib/libintl.8.dylib
  Referenced from: /usr/nagios/plugins/check_ssh
  Reason: image not found
Trace/BPT trap: 5
@tbartelmess
Copy link
Owner

Hi,

does /usr/local/opt/gettext/lib/libintl.8.dylib exist? If not can you please re-run the installer and send me the log?

If it exists can you please send me the output of
otool -L /usr/nagios/plugins/check_ssh

Thanks

@ghost
Copy link
Author

ghost commented Apr 13, 2015

/usr/local/opt/gettext/lib/libintl.8.dylib does not exist. I just checked the installer with Pacifist and it does not install that library.

I compiled the nagios plugins on a stock 10.9 machine (without Homebrew or any other 3rd party libs) and the resulting binaries seem to work OK on this 10.8.5 machine as well.

@tbartelmess
Copy link
Owner

Ok, I’ll check if there is something wrong with my packaging script.

Thanks

  • Thomas

    On Apr 13, 2015, at 08:25, Filipp Lepalaan [email protected] wrote:

    /usr/local/opt/gettext/lib/libintl.8.dylib does not exist. I just checked the installer with Pacifist and it does not install that library.

    I compiled the nagios plugins on a stock 10.9 machine (without Homebrew or any other 3rd party libs) and the resulting binaries seem to work OK on this 10.8.5 machine as well.


    Reply to this email directly or view it on GitHub dyld: Library not loaded: /usr/local/opt/gettext/lib/libintl.8.dylib #1 (comment).

@jbecwar
Copy link

jbecwar commented Jul 1, 2015

@tbartelmess I have the same issue: Here is the output of otool:

Buildboxs-Mac-mini:plugins buildbox$ otool -L /usr/nagios/plugins/check_ssh

/usr/nagios/plugins/check_ssh:
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 855.11.0)
/usr/lib/libresolv.9.dylib (compatibility version 1.0.0, current version 1.0.0)
/usr/local/opt/gettext/lib/libintl.8.dylib (compatibility version 10.0.0, current version 10.2.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1197.1.1)

I reinstalled without error, but I'm not sure where the install log is located.

-James

@pmjdebruijn
Copy link

I can confirm this issue as well.

@malottaj
Copy link

I am running into the same issue on Yosemite 10.10.3, as I installed this evening.

@tbartelmess
Copy link
Owner

Hi, I'll make a new release including an updated libintl by wednesday.

@malottaj
Copy link

That's great news! Looking forward to it...

@tbartelmess
Copy link
Owner

Here is a new build, could you could please give it a try?
http://files.bartelmess.io/public/NRPE.pkg

@malottaj
Copy link

malottaj commented Aug 2, 2015

I'll look this evening... Thanks!


Sent from my iPhone

On Sun, Aug 2, 2015 at 7:51 AM, Thomas Bartelmess
[email protected] wrote:

Here is a new build, could you could please give it a try?

http://files.bartelmess.io/public/NRPE.pkg

Reply to this email directly or view it on GitHub:
#1 (comment)

@malottaj
Copy link

malottaj commented Aug 3, 2015

So, it appears the new package is working, but now I am getting 'Socket Timeout after 10 seconds.' I ensured that ssh is open on 5666, but would there be something else I am missing?

@DeltaLima
Copy link

Had this issue too but your new build fixes this! Thanks!

@DeltaLima
Copy link

@malottaj
"I ensured that ssh is open on 5666"

sure you want to block port 5666 with ssh agent? on 5666 nrpe should listen, not ssh.

for me it works out of the box. but you may have to edit your nrpe config,because the plugin path to the checks are not correct /usr/lib/nagios/libexec have to be replaced by /usr/nagios/plugins

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants