Getting make errors while compiling in Ubuntu
-
wrote on 28 Jun 2024, 07:43 last edited by
I am getting these error could you please help to figure out’:
/home/dell/Qt/6.7.2/Src/qtopcua/src/opcua/x509/qopcuax509certificatesigningrequest_openssl.cpp:426:34: error: cannot convert ‘GENERAL_NAMES*’ {aka ‘stack_st_GENERAL_NAME*’} to ‘OPENSSL_STACK*’ {aka ‘stack_st*’}
426 | q_sk_GENERAL_NAME_push(akid->issuer, generalName);
/home/dell/Qt/6.7.2/Src/qtopcua/src/opcua/x509/openssl_symbols_p.h:433:60: note: in definition of macro ‘q_sk_GENERAL_NAME_push’
433 | #define q_sk_GENERAL_NAME_push(st, val) q_OPENSSL_sk_push((st), (val))
| ^~
In file included from /home/dell/Qt/6.7.2/Src/qtopcua/src/opcua/x509/openssl_symbols_p.h:211,
from /home/dell/Qt/6.7.2/Src/qtopcua/src/opcua/x509/qopcuax509certificatesigningrequest_openssl.cpp:5:
/home/dell/Qt/6.7.2/Src/qtopcua/src/opcua/x509/qsslsocket_openssl11_symbols_p.h:60:57: note: initializing argument 1 of ‘void q_OPENSSL_sk_push(OPENSSL_STACK*, void*)’ -
Hi,
Which Linux distribution are you using ?
Which version of OpenSSL do you have installed ? -
wrote on 10 Jul 2024, 21:58 last edited by
I'm also hitting this error. I'm running Debian 11.3 with (debian maintained versions of) openssl 1.1.1w, gcc 10.2.1.
-
Qt 6.7 needs openssl 3
-
Qt 6.7 needs openssl 3
wrote on 11 Jul 2024, 08:56 last edited byThank you!
-
wrote on 11 Jul 2024, 20:12 last edited by growly 7 Nov 2024, 20:13
update for anyone else this affects: after installing openssl-3.3.1 form source, I also had to add /usr/local/lib64 to the ldconfig search path (
sudo ldconfig /usr/local/lib64
). This is the default openssl-3.3.1 install location and had not been used by anything else on my Debian 11.3 system