All Apps and Add-ons

error while loading shared libraries: libmcrypt.so.4: cannot open shared object file: No such file or directory when running Splunk for Nagios

cdurland
Engager

Hey Luke,

Our installation is trying to send splunk alerts to nagios(basically just using nagios as a front end). The issue I'm having is that on our splunk server(64bit centos 6), we keep seeing this issue:

$ sudo ./send_nsca localhost -c /home/testuser/nsca.cfg < test.txt
./send_nsca: error while loading shared libraries: libmcrypt.so.4: cannot open shared object file: No such file or directory

I've installed the most recent mcrypt(and libmcrypt) package, and ive even tried using older versions. I'm still getting this error. Have you see this before?

Tags (1)
0 Karma
1 Solution

cdurland
Engager

Just to update: You need to use the 32-bit version of libmcrypt for this to work. Pointing it to the 64bit version throws an error, but the 32-bit works flawlessly.

View solution in original post

0 Karma

cdurland
Engager

Just to update: You need to use the 32-bit version of libmcrypt for this to work. Pointing it to the 64bit version throws an error, but the 32-bit works flawlessly.

0 Karma
Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  &#x1f680; Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...