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!

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...

Splunk MCP & Agentic AI: Machine Data Without Limits

Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization uses ...