Hello everyone,
When I compile Domoticz (from git) under Freebsd 14R (amd64), I get the following error message:
[95%] Linking CXX executable domoticz
ld: error: undefined symbol: EVP_PKEY_size
Thank you in advance for your help.
Below details:
git clone https://github.com/domoticz/domoticz.git domoticz
Cloning into 'domoticz'...
remote: Enumerating objects: 98065, done.
remote: Counting objects: 100% (354/354), done.
remote: Compressing objects: 100% (182/182), done.
remote: Total 98065 (delta 180), reused 287 (delta 172), pack-reused 97711
Receiving objects: 100% (98065/98065), 264.29 MiB | 1.75 MiB/s, done.
Resolving deltas: 100% (72399/72399), done.
cmake -DCMAKE_BUILD_TYPE=Release
CMakeWarning:
No source or binary directory provided. Both will be assumed to be the
same as the current working directory, but note that this warning will
become a fatal error in future CMake releases.
-- The C compiler identification is Clang 16.0.6
-- The CXX compiler identification is Clang 16.0.6
-- Detecting C compile ABI info
-- Detecting C compile ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compile ABI info
-- Detecting CXX compile ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Submodule update
Submodule 'extern/fmtlib' (https://github.com/fmtlib/fmt.git) registered for path 'extern/fmtlib'
Submodule 'extern/jsoncpp' (https://github.com/domoticz/jsoncpp) registered for path 'extern/jsoncpp'
Submodule 'minizip' (https://github.com/domoticz/minizip.git) registered for path 'extern/minizip'
Submodule 'extern/mosquitto' (https://github.com/eclipse/mosquitto.git) registered for path 'extern/mosquitto'
Submodule 'extern/sqlite-amalgamation' (https://github.com/azadkuh/sqlite-amalgamation.git) registered for path 'extern/sqlite-amalgamation'
Cloning into '/home/domoticz/extern/fmtlib'...
Cloning into '/home/domoticz/extern/jsoncpp'...
Cloning into '/home/domoticz/extern/minizip'...
Cloning into '/home/domoticz/extern/mosquitto'...
Cloning into '/home/domoticz/extern/sqlite-amalgamation'...
Submodule path 'extern/fmtlib': checked out '4e43a46993780e9adbcccb3b7dd74aeb36fada2d'
Submodule path 'extern/jsoncpp': checked out '2a6e163b02ac5044d74a44ed15f8aa7af687aea5'
Submodule path 'extern/minizip': checked out '78eb93e8e0ba228f37b197d2022d66b73856c9ff'
Submodule path 'extern/mosquitto': checked out '15292b20b0894ec7c5c3d47e4b22ee9d89f91132'
Submodule path 'extern/sqlite-amalgamation': checked out '15d0ff10ebc7e7225eced1de84bb52137000899b'
-- Found Lua: /usr/local/lib/liblua-5.3.so;/usr/lib/libm.so (found suitable version "5.3.6", minimum required is "5.3")
-- LUA library found at: /usr/local/lib/liblua-5.3.so;/usr/lib/libm.so
-- LUA includes found at: /usr/local/include/lua53
-- Found Python3: /usr/local/include/python3.9 (found suitable version "3.9.18", minimum required is "3.4") found components: Development Development.Module Development.Embed
-- Python3 version 3.9.18 includes found at: /usr/local/include/python3.9
-- Looking for execinfo.h
-- Looking for execinfo.h - found
-- Looking for 3 include files sys/types.h, ..., linux/i2c.h
-- Looking for 3 include files sys/types.h, ..., linux/i2c.h - not found
CMake Warning at CMakeLists.txt:482 (message):
I2C support disabled: headers not found!
-- Looking for include files sys/types.h, linux/spi/spidev.h
-- Looking for include files sys/types.h, linux/spi/spidev.h - not found
CMake Warning at CMakeLists.txt:492 (message):
SPI support disabled: headers not found!
-- ##########################
-- Compiling Revision #15801
-- ##########################
-- Using builtin jsoncpp library
-- JsonCpp Version: 1.9.4
-- Using builtin Mosquitto library
-- WITH_DLT = OFF
-- TRUE
-- SQLite library found at: /usr/local/lib/libsqlite3.so
-- SQLite includes found at: /usr/local/include
-- OPENSSL library found at: /usr/lib/libssl.so;/usr/lib/libcrypto.so
-- Linking against boost static libraries
CMake Warning at /usr/local/share/cmake/Modules/FindBoost.cmake:1390 (message):
New Boost version may have incorrect or missing dependencies and imported
targets
Call Stack (most recent call first):
/usr/local/share/cmake/Modules/FindBoost.cmake:1514 (_Boost_COMPONENT_DEPENDENCIES)
/usr/local/share/cmake/Modules/FindBoost.cmake:2125 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:662 (find_package)
CMake Warning at /usr/local/share/cmake/Modules/FindBoost.cmake:1390 (message):
New Boost version may have incorrect or missing dependencies and imported
targets
Call Stack (most recent call first):
/usr/local/share/cmake/Modules/FindBoost.cmake:1514 (_Boost_COMPONENT_DEPENDENCIES)
/usr/local/share/cmake/Modules/FindBoost.cmake:2125 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:662 (find_package)
CMake Warning at /usr/local/share/cmake/Modules/FindBoost.cmake:1390 (message):
New Boost version may have incorrect or missing dependencies and imported
targets
Call Stack (most recent call first):
/usr/local/share/cmake/Modules/FindBoost.cmake:1514 (_Boost_COMPONENT_DEPENDENCIES)
/usr/local/share/cmake/Modules/FindBoost.cmake:2125 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:662 (find_package)
CMake Warning at /usr/local/share/cmake/Modules/FindBoost.cmake:1390 (message):
New Boost version may have incorrect or missing dependencies and imported
targets
Call Stack (most recent call first):
/usr/local/share/cmake/Modules/FindBoost.cmake:1514 (_Boost_COMPONENT_DEPENDENCIES)
/usr/local/share/cmake/Modules/FindBoost.cmake:2125 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:662 (find_package)
-- BOOST includes found at: /usr/local/include
-- ZLIB library found at: /usr/lib/libz.so
-- ZLIB includes found at: /usr/include
-- Curl library found at: /usr/local/lib/libcurl.so
-- Curl includes found at: /usr/local/include
-- CEREAL includes found at: /usr/local/include
-- LIBUSB library found at: /usr/lib/libusb.so
-- GPIO is not available
-- Not found telldus-core (telldus-core.h), not adding tellstick support
-- Using precompiled headers
-- Configuring done (3.2s)
-- Generating done (0.1s)
-- Build files have been written to: /home/domoticz/build
root@VPNGate-R14:/home/domoticz # make -j 4
[ 0%] Built target minizip
...
[95%] Linking CXX executable domoticz
ld: error: undefined symbol: EVP_PKEY_size
>>> referenced by cWebem.cpp
>>> CMakeFiles/domoticz.dir/webserver/cWebem.cpp.o:(jwt::algorithm::pss::sign(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, std::__1::error_code&) const)
c++: error: linker command failed with exit code 1 (use -v to see invocation)
***Error code 1
Linking CXX executable domoticz : error: undefined symbol: EVP_PKEY_size
Moderator: leecollings
Who is online
Users browsing this forum: No registered users and 1 guest