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!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...