z

Commercial Support Clients: Clients with support contracts can get escalated support assistance by visiting Nagios Answer Hub. These forums are for community support services. Although we at Nagios try our best to help out on the forums here, we always give priority support to our support clients.

NSCA - Could not run libmcrypt test program

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.

NSCA - Could not run libmcrypt test program

Postby supmethods » Mon Aug 01, 2022 6:18 am

I am trying to compile NSCA on AlmaLinux 8.6. When I run configure I get the error message as below. libmcrypt has already been installed and is located in the /usr/lib64/ directory.

Code: Select all
checking for libmcrypt - version >= 2.4.11... no
*** Could not run libmcrypt test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means LIBMCRYPT was incorrectly installed
*** or that you have moved LIBMCRYPT since it was installed. In the latter case, you
*** may want to edit the libmcrypt-config script: no


**************************************************************
MCRYPT LIBRARY (libmcrypt) COULD NOT BE LOCATED...

The mcrypt library could not be located on your system.  This
means that you will NOT be able to use any crypto algorithms
in the NSCA client or daemon.

Read the SECURITY text file for more information on why
encryption is important to ensuring that the NSCA daemon is
not abused by malicious users.

You can download libmcrypt from:

        http://mcrypt.sourceforge.net/


NOTE: After you install the MCRYPT library on your system:

      1. Make sure /etc/ld.so.conf has an entry for the
         directory in which the MCRYPT library is installed.
      2. Run 'ldconfig' to update the run-time linker options.
      3. Run 'make devclean' in the NSCA distribution to clean
         out any old references to your previous compile.
      4. Rerun the configure script.

**************************************************************
Last edited by supmethods on Mon Aug 01, 2022 6:26 am, edited 1 time in total.
supmethods
 
Posts: 10
Joined: Mon Jul 04, 2022 7:24 am

Re: NSCA - Could not run libmcrypt test program

Postby supmethods » Mon Aug 01, 2022 6:25 am

Installing libmcrypt-devel fixed the problem.
supmethods
 
Posts: 10
Joined: Mon Jul 04, 2022 7:24 am


Return to Open Source Nagios Projects

Who is online

Users browsing this forum: Fess [Nagios Bot] and 9 guests