Failed Upgrade to 2026R1.2

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Post Reply
wneville
Posts: 113
Joined: Wed Mar 31, 2021 3:35 pm

Failed Upgrade to 2026R1.2

Post by wneville »

Tried to upgrade to the latest and greatest this morning, looking forward to SSO improvements - I errored out with the following (RHEL):

Code: Select all

UPGRADE: Nagios Core upgraded OK.
Building InfluxDB performance data module...
gcc -I.. -fPIC -I. -I../include -I.. -I../include -I../lib  -g -O2  -DHAVE_CONFIG_H -o influx_perf_api_v1.o ./influx_perf_api_v1.c -shared  -lssl -lcrypto  -lcurl -lpthread
./influx_perf_api_v1.c:57:10: fatal error: curl/curl.h: No such file or directory
 #include <curl/curl.h>
          ^~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:37: influx_perf_api_v1.o] Error 1
Error: make command failed
Anyone else see this?
User avatar
kfanselow
Posts: 255
Joined: Tue Aug 31, 2021 3:25 pm

Re: Failed Upgrade to 2026R1.2

Post by kfanselow »

Hi Will,

It looks like libcurl-devel package isn't installed. For an EL based system run the following as root and then retry the upgrade.

Code: Select all

dnf install libcurl-devel -y
For a Debian or Ubuntu system you'll want to run the following (as root) and retry the upgrade.

Code: Select all

apt-get install libcurl4-openssl-dev
Thanks and have a great rest of you day,
Keith
Alongaks
Posts: 9
Joined: Mon Sep 12, 2022 9:12 am

Re: Failed Upgrade to 2026R1.2

Post by Alongaks »

wneville wrote: Wed Feb 25, 2026 8:23 am Tried to upgrade to the latest and greatest this morning, looking forward to SSO improvements - I errored out with the following (RHEL):

Code: Select all

UPGRADE: Nagios Core upgraded OK.
Building InfluxDB performance data module...
gcc -I.. -fPIC -I. -I../include -I.. -I../include -I../lib  -g -O2  -DHAVE_CONFIG_H -o influx_perf_api_v1.o ./influx_perf_api_v1.c -shared  -lssl -lcrypto  -lcurl -lpthread
./influx_perf_api_v1.c:57:10: fatal error: curl/curl.h: No such file or directory
 #include <curl/curl.h>
          ^~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:37: influx_perf_api_v1.o] Error 1
Error: make command failed
Anyone else see this?
Yep. Had the same issue 2026R1.1 -> 2026R1.2.

Doing the libcurl-devel install fixed it. Not sure if this was mentioned in the email blasts or release notes about the new version.
wneville
Posts: 113
Joined: Wed Mar 31, 2021 3:35 pm

Re: Failed Upgrade to 2026R1.2

Post by wneville »

I'm all set!! Thank you both!
liambrown32
Posts: 1
Joined: Tue Mar 17, 2026 3:48 am

Re: Failed Upgrade to 2026R1.2

Post by liambrown32 »

Had the same error on a fresh upgrade recently. Installing libcurl-devel fixed it right away for me too.
Feels like this dependency should probably be called out more clearly in the upgrade notes, especially since the error isn’t super obvious if you haven’t hit it before.
Post Reply