DS455
February 17, 2022, 1:11pm
1
I’m using OpenSSL 3.0.0 7 when running /etc/cron.daily/netdata-updater:
usr/bin/ld: libnetdata/socket/security.o: in function security_test_certificate':* *security.c:(.text+0x664): undefined reference to
SSL_get1_peer_certificate’
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:3873: apps.plugin] Error 1
make[2]: *** Waiting for unfinished jobs…
make[2]: Leaving directory ‘/tmp/netdata-updater-JaZ6INxfLn/netdata-v1.33.1-10-ge9e8d2ec8’
make[1]: *** [Makefile:6475: all-recursive] Error 1
make[1]: Leaving directory ‘/tmp/netdata-updater-JaZ6INxfLn/netdata-v1.33.1-10-ge9e8d2ec8’
make: *** [Makefile:3519: all] Error 2
Чт 17 фев 2022 15:53:40 MSK : ERROR: FAILED TO UPDATE NETDATA : FAILED TO COMPILE/INSTALL NETDATA
Tell me how to update to the latest version Netdata?
Hi @DS455 ! Welcome!!
Thank you for your report. Am I right to assume, that you had initially Netdata installed, and at some point you upgraded OpenSSL to 3 ? And that’s when it stopped updating?
We will try to replicate this issue, and will let you know!
DS455
February 17, 2022, 1:39pm
3
Yes, originally netdata was installed on the version opensl 1.1.1 (from the repositories). Thank you for quick answer.
Hi! Can I ask, what distribution you’re using?
Thanks!
DS455
February 18, 2022, 8:02am
5
Hi! Ubuntu 20.04.3 LTS and Debian GNU/Linux 10 (buster)
DS455
February 22, 2022, 6:31am
6
Hello! Did you find a solution?
Hi ! Sorry, not yet… I will update as soon as I manage to reproduce it/and or fix it.
DS455
May 19, 2022, 5:29am
8
Hello. Node stopped worked
netdata v1.31.0-242-nightly
The only solution is to remove openssl 3?
DS455
January 7, 2023, 1:01pm
9
Hi Manolis,
It’s been almost a year, but the problem is still there
CXX aclk/aclk-schemas/proto/context/v1/stream.pb.o
CC cli/cli.o
AR libjudy.a
ar: `u' modifier ignored since `D' is the default (see `U')
AR libmqttwebsockets.a
ar: `u' modifier ignored since `D' is the default (see `U')
CCLD apps.plugin
CCLD cgroup-network
/usr/bin/ld: libnetdata/socket/security.o: in function `security_test_certificate':
security.c:(.text+0x5ed): undefined reference to `SSL_get1_peer_certificate'
collect2: error: ld returned 1 exit status
/usr/bin/make[2]: *** [Makefile:4239: apps.plugin] Error 1
make[2]: *** Waiting for unfinished jobs....
ld: libnetdata/socket/security.o: in function `security_test_certificate':
security.c:(.text+0x5ed): undefined reference to `SSL_get1_peer_certificate'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:4252: cgroup-network] Error 1
make[2]: Leaving directory '/tmp/netdata-updater-bRKS6FPGq9/netdata-v1.37.0-103-gcd80dd6a0'
make[1]: *** [Makefile:7309: all-recursive] Error 1
make[1]: Leaving directory '/tmp/netdata-updater-bRKS6FPGq9/netdata-v1.37.0-103-gcd80dd6a0'
make: *** [Makefile:3711: all] Error 2
FAILED ''
ABORTED Failed to build Netdata.
Сб янв 7 15:45:42 MSK 2023 : FATAL: netdata-updater.sh: FAILED TO UPDATE NETDATA: Failed to rebuild existing netdata install: Failed to build Netdata.
FAILED
--- Updated existing install at / ---
--- Successfully updated existing netdata install at /. ---
--- Not attempting to claim existing install at / (no claiming token provided). ---
The following non-fatal warnings or errors were encountered:
-
- Command 'make -j2' failed with exit code 2.
- Failed to build Netdata.
- Failed to rebuild existing netdata install: Failed to build Netdata.