/usr/bin/ld:…
- User
/usr/bin/ld: /root/servers/mmorpg/source/libraries/mysql/linux/lib64/libmysqlcppconn-static.a(viossl.cc.o): undefined reference to symbol 'SSL_get_fd@@OPENSSL_3.0.0' /usr/bin/ld: /lib/x86_64-linux-gnu/libssl.so.3: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status make[2]: *** [CMakeFiles/mmoteeworlds_srv.dir/build.make:2596: mmoteeworlds_srv] Error 1 make[1]: *** [CMakeFiles/Makefile2:338: CMakeFiles/mmoteeworlds_srv.dir/all] Error 2 make: *** [Makefile:156: all] Error 2 ошибка как исправить
- Assistant
- User
нету ссылок openssl version
- Assistant
- User
/usr/bin/ld: /lib/x86_64-linux-gnu/libssl.so.3: error adding symbols: DSO missing from command line
- Assistant
- User
root@undergroundblocker:
/servers/mmorpg/source/build# make -lssl -lcrypto [ 27%] Built target engine-shared [ 31%] Built target game-shared [ 36%] Built target zlib [ 38%] Built target libmaxminddb [ 38%] Built target json [ 39%] Built target md5 [ 40%] Built target pugixml [ 40%] Linking CXX executable mmoteeworlds_srv /usr/bin/ld: /root/servers/mmorpg/source/libraries/mysql/linux/lib64/libmysqlcppconn-static.a(viossl.cc.o): undefined reference to symbol 'SSL_get_fd@@OPENSSL_3.0.0' /usr/bin/ld: /lib/x86_64-linux-gnu/libssl.so.3: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status make[2]: *** [CMakeFiles/mmoteeworlds_srv.dir/build.make:2596: mmoteeworlds_srv] Error 1 make[1]: *** [CMakeFiles/Makefile2:338: CMakeFiles/mmoteeworlds_srv.dir/all] Error 2 make: *** [Makefile:156: all] Error 2 root@undergroundblocker:/servers/mmorpg/source/build# - Assistant
- User
root@undergroundblocker:~/servers/mmorpg/source/build# ldd /root/servers/mmorpg/source/libraries/mysql/linux/lib64/libmysqlcppconn-static.a not a dynamic executable
- Assistant
- User
0000000000000000 UND 0000000000000000 SSL_get_current_cipher 0000000000000000 UND 0000000000000000 SSL_CIPHER_get_name 0000000000000000 UND 0000000000000000 SSL_CTX_free 0000000000000000 UND 0000000000000000 _Z21new_VioSSLConnectorFdPKcS0_S0_S0_S0_P19enum_ssl_init_errorS0_S0_l 0000000000000000 UND 0000000000000000 _Z10sslconnectP11st_VioSSLFdP3ViolPm 0000000000000000 UND 0000000000000000 SSL_get_peer_certificate 0000000000000000 UND 0000000000000000 SSL_get_verify_result
- Assistant
- User
/usr/bin/ld: /root/servers/mmorpg/source/libraries/mysql/linux/lib64/libmysqlcppconn-static.a(viossl.cc.o): undefined reference to symbol 'SSL_get_fd@@OPENSSL_3.0.0' /usr/bin/ld: /lib/x86_64-linux-gnu/libssl.so.3: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status make[2]: *** [CMakeFiles/mmoteeworlds_srv.dir/build.make:2596: mmoteeworlds_srv] Error 1 make[1]: *** [CMakeFiles/Makefile2:338: CMakeFiles/mmoteeworlds_srv.dir/all] Error 2 make: *** [Makefile:156: all] Error 2 root@undergroundblocker:~/servers/mmorpg/source/build#
- Assistant
- User
как найти это место Добавьте ссылки на libssl и libcrypto в вашу цель mmoteeworlds_srv. Откройте CMakeLists.txt и найдите место, где определяется линковка вашей программы. Убедитесь, что в target_link_libraries есть зависимости от OpenSSL.
- Assistant
- User
Target
set(TARGET_SERVER {TARGET_SERVER} {SERVER_ICON} <TARGET_OBJECTS:engine-shared> <TARGET_OBJECTS:libmaxminddb> ) target_precompile_headers(<{CMAKE_CURRENT_SOURCE_DIR}/src/teeother/stdafx_shared.h>" "<COMPILE_LANGUAGE:CXX>:{TARGET_SERVER} PRIVATE {TARGET_SERVER} {SERVER_LIBRARIES}) list(APPEND TARGETS_OWN {TARGET_SERVER})
- Assistant
- User
-- LIBS= -- SERVER_LIBRARIES= -- Could NOT find GTest (missing: GTEST_LIBRARY GTEST_INCLUDE_DIR GTEST_MAIN_LIBRARY) -- ******** Mmo (Teeworlds) ******** -- Target OS: linux 64bit -- Compiler: /usr/bin/c++ -- Build type: Release -- Dependencies: -- * Python3 found -- * MySQL found -- * OpenSSL found -- * Curl found -- Automatically downloading GTest to be able to
- Assistant
- User
root@undergroundblocker:~/servers/mmorpg/source/build# cmake .. -- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libcrypto.so (found version "3.0.15") -- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libcrypto.so -- Could NOT find GTest (missing: GTEST_LIBRARY GTEST_INCLUDE_DIR GTEST_MAIN_LIBRARY) -- ******** Mmo (Teeworlds) ******** -- Target OS: linux 64bit -- Compiler: /usr/bin/c++ -- Build type: Release -- Dependencies: -- * Python3 found -- * MySQL found -- * OpenSSL found -- * Curl found -- Automatically downloading GTest to be able to run tests -- Configuring done -- Generating done
- Assistant
- User
/usr/bin/ld: /root/servers/mmorpg/source/libraries/mysql/linux/lib64/libmysqlcppconn-static.a(my_aes_openssl.cc.o): in function
my_aes_encrypt(unsigned char const*, unsigned int, unsigned char*, unsigned char const*, unsigned int, my_aes_opmode, unsigned char const*, bool)': ./obj/mysys_ssl/../../mysql-8.0.15/mysys_ssl/my_aes_openssl.cc:145: undefined reference toEVP_CIPHER_iv_length' /usr/bin/ld: ./obj/mysys_ssl/../../mysql-8.0.15/mysys_ssl/my_aes_openssl.cc:156: undefined reference toEVP_CIPHER_CTX_cleanup' /usr/bin/ld: ./obj/mysys_ssl/../../mysql-8.0.15/mysys_ssl/my_aes_openssl.cc:166: undefined reference toEVP_CIPHER_CTX_cleanup' /usr/bin/ld: /root/servers/mmorpg/source/libraries/mysql/linux/lib64/libmysqlcppconn-static.a(my_aes_openssl.cc.o): in function EVP_CIPHER_iv_length' /usr/bin/ld: ./obj/mysys_ssl/../../mysql-8.0.15/mysys_ssl/my_aes_openssl.cc:202: undefined reference to EVP_CIPHER_CTX_cleanup' /usr/bin/ld: /root/servers/mmorpg/source/libraries/mysql/linux/lib64/libmysqlcppconn-static.a(my_aes_openssl.cc.o): in function EVP_CIPHER_block_size' /usr/bin/ld: /root/servers/mmorpg/source/libraries/mysql/linux/lib64/libmysqlcppconn-static.a(my_aes_openssl.cc.o): in function EVP_CIPHER_iv_length' collect2: error: ld returned 1 exit status make[2]: *** [CMakeFiles/mmoteeworlds_srv.dir/build.make:2598: mmoteeworlds_srv] Error 1 make[1]: *** [CMakeFiles/Makefile2:338: CMakeFiles/mmoteeworlds_srv.dir/all] Error 2 make: *** [Makefile:156: all] Error 2 - Assistant
- User
- Assistant
- User
у меня debian
- Assistant
- User
[2025-01-03 14:54:06][webhook]: Sending webhook message failed, returned 19712
- Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.