fansino 发表于 2022-7-21 09:29:03

安装数据库失败

[ 61%] Building CXX object storage/perfschema/unittest/CMakeFiles/pfs_connect_attr-t.dir/__/__/__/sql/sql_builtin.cc.o
[ 61%] Building C object storage/perfschema/unittest/CMakeFiles/pfs_connect_attr-t.dir/__/__/__/mysys/string.c.o
Linking CXX executable pfs_connect_attr-t
../../../archive_output_directory/libperfschema.a(table_events_statements.cc.o):在函数‘table_events_statements_common::read_row_values(TABLE*, unsigned char*, Field**, bool)’中:
/home/soft/lnmp1.8-full/src/mysql-5.7.34/storage/perfschema/table_events_statements.cc:658:对‘Field::set_null(long long)’未定义的引用
../../../archive_output_directory/libperfschema.a(table_events_statements.cc.o):在函数‘table_events_statements_common::make_row_part_1(PFS_events_statements*, sql_digest_storage*)’中:
/home/soft/lnmp1.8-full/src/mysql-5.7.34/storage/perfschema/table_events_statements.cc:370:对‘String::append(char const*, unsigned long, charset_info_st const*)’未定义的引用
/home/soft/lnmp1.8-full/src/mysql-5.7.34/storage/perfschema/table_events_statements.cc:375:对‘String::numchars() const’未定义的引用
/home/soft/lnmp1.8-full/src/mysql-5.7.34/storage/perfschema/table_events_statements.cc:379:对‘String::charpos(unsigned long, unsigned long)’未定义的引用
/home/soft/lnmp1.8-full/src/mysql-5.7.34/storage/perfschema/table_events_statements.cc:381:对‘String::append(char const*, unsigned long)’未定义的引用
../../../archive_output_directory/libperfschema.a(table_events_statements.cc.o):在函数‘table_events_statements_common::make_row_part_2(sql_digest_storage const*)’中:
/home/soft/lnmp1.8-full/src/mysql-5.7.34/storage/perfschema/table_events_statements.cc:449:对‘compute_digest_text(sql_digest_storage const*, String*)’未定义的引用
../../../archive_output_directory/libperfschema.a(table_setup_objects.cc.o):在函数‘table_setup_objects::read_row_values(TABLE*, unsigned char*, Field**, bool)’中:
/home/soft/lnmp1.8-full/src/mysql-5.7.34/storage/perfschema/table_setup_objects.cc:286:对‘Field::set_null(long long)’未定义的引用
../../../archive_output_directory/libcsv.a(ha_tina.cc.o):在函数‘ha_tina::check_and_repair(THD*)’中:
/home/soft/lnmp1.8-full/src/mysql-5.7.34/storage/csv/ha_tina.cc:392:对‘st_ha_check_opt::init()’未定义的引用
../../../archive_output_directory/libcsv.a(ha_tina.cc.o):在函数‘tina_init_func(void*)’中:
/home/soft/lnmp1.8-full/src/mysql-5.7.34/storage/csv/ha_tina.cc:179:对‘system_charset_info’未定义的引用
../../../archive_output_directory/libcsv.a(ha_tina.cc.o):在函数‘~handler’中:
/home/soft/lnmp1.8-full/src/mysql-5.7.34/sql/handler.h:2383:对‘vtable for handler’未定义的引用
/home/soft/lnmp1.8-full/src/mysql-5.7.34/sql/handler.h:2383:对‘vtable for handler’未定义的引用
/home/soft/lnmp1.8-full/src/mysql-5.7.34/sql/handler.h:2383:对‘vtable for handler’未定义的引用
/home/soft/lnmp1.8-full/src/mysql-5.7.34/sql/handler.h:2383:对‘vtable for handler’未定义的引用
/home/soft/lnmp1.8-full/src/mysql-5.7.34/sql/handler.h:2383:对‘vtable for handler’未定义的引用
../../../archive_output_directory/libcsv.a(ha_tina.cc.o):在函数‘ha_tina::encode_quote(unsigned char*)’中:
/home/soft/lnmp1.8-full/src/mysql-5.7.34/storage/csv/ha_tina.cc:553:对‘Field::set_notnull(long long)’未定义的引用
/home/soft/lnmp1.8-full/src/mysql-5.7.34/storage/csv/ha_tina.cc:559:对‘Field::set_null(long long)’未定义的引用
../../../archive_output_directory/libcsv.a(ha_tina.cc.o):在函数‘String::append(char)’中:

licess 发表于 2022-7-21 11:45:26

贴出的日志没有错误,如安装失败请按反馈必读要求提供完整日志信息

fansino 发表于 2022-7-21 18:06:47

[ 82%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/unireg.cc.o
[ 82%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/xa.cc.o
Linking CXX static library ../archive_output_directory/libsql_embedded.a
[ 82%] Built target sql_embedded
make: *** 错误 2
Built target INFO_BIN
Built target INFO_SRC
Built target abi_check
Built target zlib
Built target libedit_emacs
Built target libedit_help
Built target libedit_common
Built target libedit_vi
Built target libedit_func
Built target libedit_fcns
Built target edit
Built target event_core
Built target event_extra
Built target event_openssl
Built target event_pthreads
Built target strings
[ 10%] Built target mysys
[ 10%] Built target dbug
[ 11%] Built target vio
[ 11%] Built target regex
[ 11%] Built target re
[ 11%] Built target base64_test
[ 11%] Built target queues
[ 11%] Built target thr_lock
[ 11%] Built target mysys_ssl
[ 11%] Built target comp_err
[ 11%] Built target GenError
[ 12%] Built target clientlib
Linking CXX shared library libmysqlclient.so
../archive_output_directory/libvio.a(viosslfactories.c.o):在函数‘new_VioSSLFd’中:
/home/soft/lnmp1.8-full/src/mysql-5.7.34/vio/viosslfactories.c:549:对‘SSLv23_server_method’未定义的引用
/home/soft/lnmp1.8-full/src/mysql-5.7.34/vio/viosslfactories.c:549:对‘SSLv23_client_method’未定义的引用
../archive_output_directory/libvio.a(viosslfactories.c.o):在函数‘mysql_OPENSSL_init’中:
/home/soft/lnmp1.8-full/src/mysql-5.7.34/include/my_openssl.h:57:对‘SSL_library_init’未定义的引用
../archive_output_directory/libvio.a(viosslfactories.c.o):在函数‘ssl_start’中:
/home/soft/lnmp1.8-full/src/mysql-5.7.34/vio/viosslfactories.c:444:对‘SSL_load_error_strings’未定义的引用
collect2: 错误:ld 返回 1
make: *** 错误 1
make: *** 错误 2
make: *** 错误 2
Built target INFO_BIN
Built target INFO_SRC
Built target abi_check
Built target zlib
Built target libedit_emacs
Built target libedit_help
Built target libedit_common
Built target libedit_vi
Built target libedit_func
Built target libedit_fcns
Built target edit
Built target event_core
Built target event_extra
Built target event_openssl
Built target event_pthreads
Built target strings
[ 10%] Built target mysys
[ 10%] Built target dbug
[ 11%] Built target vio
[ 11%] Built target regex
[ 11%] Built target re
[ 11%] Built target base64_test
[ 11%] Built target queues
[ 11%] Built target thr_lock
[ 11%] Built target mysys_ssl
[ 11%] Built target comp_err
[ 11%] Built target GenError
[ 12%] Built target clientlib
Linking CXX shared library libmysqlclient.so
../archive_output_directory/libvio.a(viosslfactories.c.o):在函数‘new_VioSSLFd’中:
/home/soft/lnmp1.8-full/src/mysql-5.7.34/vio/viosslfactories.c:549:对‘SSLv23_server_method’未定义的引用
/home/soft/lnmp1.8-full/src/mysql-5.7.34/vio/viosslfactories.c:549:对‘SSLv23_client_method’未定义的引用
../archive_output_directory/libvio.a(viosslfactories.c.o):在函数‘mysql_OPENSSL_init’中:
/home/soft/lnmp1.8-full/src/mysql-5.7.34/include/my_openssl.h:57:对‘SSL_library_init’未定义的引用
../archive_output_directory/libvio.a(viosslfactories.c.o):在函数‘ssl_start’中:
/home/soft/lnmp1.8-full/src/mysql-5.7.34/vio/viosslfactories.c:444:对‘SSL_load_error_strings’未定义的引用
collect2: 错误:ld 返回 1
make: *** 错误 1
make: *** 错误 2
make: *** 错误 2
groupadd:“mysql”组已存在
useradd:用户“mysql”已存在
cp: 无法获取"/usr/local/mysql/var/*" 的文件状态(stat): 没有那个文件或目录
include/mysql.sh:行607: /usr/local/mysql/bin/mysqld: 没有那个文件或目录
/etc/init.d/mysql:行239: my_print_defaults: 未找到命令
Starting MySQL ERROR! Couldn't find MySQL server (/usr/local/mysql/bin/mysqld_safe)
/etc/init.d/mysql:行239: my_print_defaults: 未找到命令
/etc/init.d/mysql:行239: my_print_defaults: 未找到命令
ERROR! MySQL server PID file could not be found!
/etc/init.d/mysql:行239: my_print_defaults: 未找到命令
Starting MySQL ERROR! Couldn't find MySQL server (/usr/local/mysql/bin/mysqld_safe)
include/mysql.sh:行43: /usr/local/mysql/bin/mysqladmin: 没有那个文件或目录
failed, try other way...
/etc/init.d/mysql:行239: my_print_defaults: 未找到命令
/etc/init.d/mysql:行239: my_print_defaults: 未找到命令
ERROR! MySQL server PID file could not be found!
/etc/init.d/mysql:行239: my_print_defaults: 未找到命令
Starting MySQL ERROR! Couldn't find MySQL server (/usr/local/mysql/bin/mysqld_safe)
include/mysql.sh:行53: /usr/local/mysql/bin/mysql: 没有那个文件或目录
Set password failed!
/etc/init.d/mysql:行239: my_print_defaults: 未找到命令
/etc/init.d/mysql:行239: my_print_defaults: 未找到命令
ERROR! MySQL server PID file could not be found!
/etc/init.d/mysql:行239: my_print_defaults: 未找到命令
Starting MySQL ERROR! Couldn't find MySQL server (/usr/local/mysql/bin/mysqld_safe)
include/main.sh:行761: /usr/local/mysql/bin/mysql: 没有那个文件或目录
Update root password...
include/main.sh:行761: /usr/local/mysql/bin/mysql: 没有那个文件或目录
... Failed!
Remove anonymous users...
include/main.sh:行761: /usr/local/mysql/bin/mysql: 没有那个文件或目录
include/main.sh:行761: /usr/local/mysql/bin/mysql: 没有那个文件或目录
... Failed!
Disallow root login remotely...
include/main.sh:行761: /usr/local/mysql/bin/mysql: 没有那个文件或目录
... Failed!
Remove test database...
include/main.sh:行761: /usr/local/mysql/bin/mysql: 没有那个文件或目录
... Failed!
Reload privilege tables...
include/main.sh:行761: /usr/local/mysql/bin/mysql: 没有那个文件或目录
... Failed!
/etc/init.d/mysql:行239: my_print_defaults: 未找到命令
/etc/init.d/mysql:行239: my_print_defaults: 未找到命令
ERROR! MySQL server PID file could not be found!
/etc/init.d/mysql:行239: my_print_defaults: 未找到命令
Starting MySQL ERROR! Couldn't find MySQL server (/usr/local/mysql/bin/mysqld_safe)
/etc/init.d/mysql:行239: my_print_defaults: 未找到命令
ERROR! MySQL server PID file could not be found!
Clean database src directory...
 Installing php-7.3.29

fansino 发表于 2022-7-21 18:07:48

整个日志文件太大了,不方便上传,这是截取其中出现问题的部分,谢谢!

fansino 发表于 2022-7-22 08:57:00

本帖最后由 fansino 于 2022-7-22 09:00 编辑

日志请查看,谢谢 !https://www.wenshushu.cn/f/8uv7e9og6ob%20%E5%A4%8D%E5%88%B6%E9%93%BE%E6%8E%A5%E5%88%B0%E6%B5%8F%E8%A7%88%E5%99%A8%E6%89%93%E5%BC%80

licess 发表于 2022-7-22 18:30:56

lfreetype -licuio -licui18n -licuuc -licudata -lxml2 -lz -lm -ldl -lxml2 -lz -lm -ldl -lcrypt -lxml2 -lz -lm -ldl -lxml2 -lz -lm -ldl -lxml2 -lz -lm -ldl -lxml2 -lz -lm -ldl -lxslt -lxml2 -lz -ldl -lm -lssl -lcrypto -lcrypt-o sapi/cli/php
/usr/bin/ld: warning: libcrypto.so.1.1, needed by /usr/lib64/libssl.so, may conflict with libcrypto.so.10
/usr/bin/ld: warning: libcrypto.so.1.1, needed by /usr/lib64/libssl.so, may conflict with libcrypto.so.10
/usr/bin/ld: warning: libcrypto.so.1.1, needed by /usr/lib64/libssl.so, may conflict with libcrypto.so.10
/usr/bin/ld: warning: libssl.so.10, needed by //usr/lib64/libssh2.so.1, may conflict with libssl.so.1.1
/usr/bin/ld: warning: libssl.so.10, needed by //usr/lib64/libssh2.so.1, may conflict with libssl.so.1.1
/usr/bin/ld: warning: libssl.so.10, needed by //usr/lib64/libssh2.so.1, may conflict with libssl.so.1.1
/usr/bin/ld: ext/openssl/.libs/openssl.o: undefined reference to symbol 'SSL_library_init@@libssl.so.10'
//usr/lib64/libssl.so.10: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
你系统上的openssl有可能自行升级过而且是有问题的导致的

hmm 发表于 2022-7-28 18:53:57

licess 发表于 2022-7-22 18:30
你系统上的openssl有可能自行升级过而且是有问题的导致的

升级了Openssl 出现错误,那该如何解决?
页: [1]
查看完整版本: 安装数据库失败