Ubuntu Studio 23.04 (KDE)
Just try to build my project I can run in CLion and QtCreator without problems.
It happens in linking stage:
[build] /usr/bin/ld: /home/czarek/Felgo/Felgo/gcc_64/lib/libFelgo.a(unzip.o): undefined reference to symbol ‘inflateEnd’
[build] /usr/bin/ld: /lib/x86_64-linux-gnu/libz.so.1: error adding symbols: DSO missing from command line
[build] clang: error: linker command failed with exit code 1 (use -v to see invocation)
[build] ninja: build stopped: subcommand failed.
And funny – I have not direct reference to libz library
target_link_libraries(${PROJECT_NAME} PRIVATE
Felgo
Qt6::Charts
Qt6::Svg
Qt6::WebView
crypto
ssl
)