Hi!
I'm trying to install mysql database but I've got an error? any advices how to solve it ? Thanks!
-- Performing Test HAVE_SYS_GETTID - Success
-- Performing Test HAVE_PTHREAD_GETTHREADID_NP
-- Performing Test HAVE_PTHREAD_GETTHREADID_NP - Failed
-- Performing Test HAVE_PTHREAD_THREADID_NP
-- Performing Test HAVE_PTHREAD_THREADID_NP - Failed
-- Performing Test HAVE_INTEGER_PTHREAD_SELF
-- Performing Test HAVE_INTEGER_PTHREAD_SELF - Success
-- Looking for netinet/in6.h
-- Looking for netinet/in6.h - not found
-- Check size of struct in6_addr
-- Check size of struct in6_addr - failed
-- Performing Test HAVE_SOCKADDR_IN_SIN_LEN
-- Performing Test HAVE_SOCKADDR_IN_SIN_LEN - Failed
-- Performing Test HAVE_SOCKADDR_IN6_SIN6_LEN
-- Performing Test HAVE_SOCKADDR_IN6_SIN6_LEN - Failed
-- Looking for include file numa.h
-- Looking for include file numa.h - not found
-- Looking for include file numaif.h
-- Looking for include file numaif.h - not found
-- NUMA library missing or required version not available
-- Looking for include file arm_acle.h
-- Looking for include file arm_acle.h - found
-- Performing Test HAVE_ARMV8_CRC32
-- Performing Test HAVE_ARMV8_CRC32 - Failed
-- Performing Test HAVE_ARMV8_CRC32_WITH_ARCH_EXTN
-- Performing Test HAVE_ARMV8_CRC32_WITH_ARCH_EXTN - Success
-- ARMv8 crc32 intrinsic support available
CMake Deprecation Warning at extra/zlib/CMakeLists.txt:37 (CMAKE_POLICY):
The OLD behavior for policy CMP0075 will be removed from a future version
of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.
-- Check size of off64_t
-- Check size of off64_t - done
-- Looking for fseeko
-- Looking for fseeko - found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Performing Test HAVE_CXX_W_missing_profile
-- Performing Test HAVE_CXX_W_missing_profile - Success
-- ZLIB_VERSION (bundled) is 1.2.11
-- ZSTD_LEGACY_SUPPORT not defined!
-- ZSTD_VERSION (bundled) is 1.4.3
-- The openssl command does not support zlib
-- OPENSSL_INCLUDE_DIR = /usr/local/openssl111/include
-- OPENSSL_LIBRARY = /usr/local/openssl111/lib/libssl.so
-- CRYPTO_LIBRARY = /usr/local/openssl111/lib/libcrypto.so
-- OPENSSL_MAJOR_VERSION = 1
-- OPENSSL_MINOR_VERSION = 01
-- OPENSSL_FIX_VERSION = 01
-- Looking for SHA512_DIGEST_LENGTH
-- Looking for SHA512_DIGEST_LENGTH - found
-- SSL_LIBRARIES = /usr/local/openssl111/lib/libssl.so;/usr/local/openssl111/lib/libcrypto.so
-- WITH_SSL_PATH /usr/local/openssl111
-- CRYPTO_EXT .so
-- set HAVE_CRYPTO_SO HAVE_OPENSSL_SO
-- CUSTOM library /usr/local/openssl111/lib/libcrypto.so
-- INSTALL libcrypto.so to lib/private/
-- CUSTOM library /usr/local/openssl111/lib/libssl.so
-- INSTALL libssl.so to lib/private/
-- SSL_LIBRARIES = /www/server/mysql/src/install/library_output_directory//libcrypto.so;/www/server/mysql/src/install/library_output_directory//libssl.so
-- KERBEROS path is none, disabling kerberos support.
CMake Warning at cmake/sasl.cmake:264 (MESSAGE):
Could not find SASL
Call Stack (most recent call first):
CMakeLists.txt:1351 (MYSQL_CHECK_SASL)
-- Looking for lber.h
-- Looking for lber.h - not found
-- Looking for ldap.h
-- Looking for ldap.h - not found
CMake Warning at cmake/ldap.cmake:158 (MESSAGE):
Could not find LDAP
Call Stack (most recent call first):
CMakeLists.txt:1355 (MYSQL_CHECK_LDAP)
-- CMAKE_MODULE_LINKER_FLAGS_DEBUG -Wl,-rpath,'$ORIGIN/../../private'
-- CMAKE_SHARED_LINKER_FLAGS_DEBUG -Wl,-rpath,'$ORIGIN/../../private'
CMake Error at CMakeLists.txt:1374 (MESSAGE):
Please install the patchelf(1) utility.
-- Configuring incomplete, errors occurred!
See also "/www/server/mysql/src/install/CMakeFiles/CMakeOutput.log".
See also "/www/server/mysql/src/install/CMakeFiles/CMakeError.log".
make: *** No targets specified and no makefile found. Stop.
Red Hat Enterprise Linux release 9.0 (Plow)
Bit:64 Mem:23528M Core:4 gcc:11.2.1 cmake:3.20.2
Linux 5.15.0-1.43.4.2.el9uek.aarch64 aarch64
ERROR: mysql 8.0 installation failed.
安装失败,请截图以上报错信息发帖至论坛www.bt.cn/bbs求助
|-Successify ---Script execution completed---