Can't compile anymore latest v6-28-00-patches on Mac OS Ventura using home-brew add-ons

Dear experts!

I cannot compile anymore a private ROOT setup, which I was able to do in the past. The error is:

Consolidate compiler generated dependencies of target RHTTP
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f net/http/CMakeFiles/RHTTP.dir/build.make net/http/CMakeFiles/RHTTP.dir/build
[ 92%] Linking CXX shared library …/…/lib/libRHTTP.so
cd /Users/arno/Desktop/repository/build/root6/net/http && /usr/local/Cellar/cmake/3.27.1/bin/cmake -E cmake_link_script CMakeFiles/RHTTP.dir/link.txt --verbose=1
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -std=c++14 -Wc++11-narrowing -Wsign-compare -Wsometimes-uninitialized -Wconditional-uninitialized -Wheader-guard -Warray-bounds -Wcomment -Wtautological-compare -Wstrncat-size -Wloop-analysis -Wbool-conversion -m64 -pipe -W -Wall -Woverloaded-virtual -fsigned-char -fno-common -Qunused-arguments -pthread -stdlib=libc++ -O3 -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk -mmacosx-version-min=12.6 -dynamiclib -Wl,-headerpad_max_install_names -m64 -single_module -Wl,-dead_strip_dylibs -o …/…/lib/libRHTTP.so -install_name @rpath/libRHTTP.so CMakeFiles/RHTTP.dir/src/TCivetweb.cxx.o CMakeFiles/RHTTP.dir/src/TFastCgi.cxx.o CMakeFiles/RHTTP.dir/src/THttpCallArg.cxx.o CMakeFiles/RHTTP.dir/src/THttpEngine.cxx.o CMakeFiles/RHTTP.dir/src/THttpLongPollEngine.cxx.o CMakeFiles/RHTTP.dir/src/THttpServer.cxx.o CMakeFiles/RHTTP.dir/src/THttpWSEngine.cxx.o CMakeFiles/RHTTP.dir/src/THttpWSHandler.cxx.o CMakeFiles/RHTTP.dir/src/TRootSniffer.cxx.o CMakeFiles/RHTTP.dir/src/TRootSnifferStore.cxx.o CMakeFiles/RHTTP.dir/civetweb/civetweb.c.o CMakeFiles/G__RHTTP.dir/G__RHTTP.cxx.o -Wl,-rpath,/Users/arno/Desktop/repository/build/root6/lib /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk/usr/lib/libz.tbd /usr/local/lib/libfcgi.dylib …/…/lib/libGraf.so /usr/local/opt/openssl@1.1/lib/libssl.dylib /usr/local/opt/openssl@1.1/lib/libcrypto.dylib …/…/lib/libHist.so …/…/lib/libMatrix.so …/…/lib/libMathCore.so …/…/lib/libImt.so …/…/lib/libMultiProc.so …/…/lib/libNet.so …/…/lib/libRIO.so …/…/lib/libThread.so …/…/lib/libCore.so
Undefined symbols for architecture x86_64:
“_SSL_get1_peer_certificate”, referenced from:
_worker_thread in civetweb.c.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [lib/libRHTTP.so] Error 1
make[1]: *** [net/http/CMakeFiles/RHTTP.dir/all] Error 2
make: *** [all] Error 2

It would be nice if you could advise what to do and which additional info you might need.

Thanks and regards, Arno

_ROOT Version: v6-28-00-patches
_Platform: latest Mac OS Ventura
_Compiler: Apple clang version 14.0.0 (clang-1400.0.29.202), Target: x86_64-apple-darwin21.6.0


I think there are some incompatibilities by using some home-brew packages. Try to used instead the corresponding builtin’s from ROOT

Lorenzo

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.