lnmp1.6 beta 编译安装mysql 5.5.62失败
N1盒子,armbian 5.77,5.0.2内核。两个盒子,一个系统刷到闪迪U盘的没事,另外这个系统刷到USB读卡器的TF卡里,编译安装总是报错。请军哥帮忙看看,多谢!
Built target sql
Scanning dependencies of target mysqld
Building CXX object sql/CMakeFiles/mysqld.dir/main.cc.o
Scanning dependencies of target explain_filename-t
Building CXX object unittest/mysys/CMakeFiles/explain_filename-t.dir/explain_filename-t.cc.o
Linking CXX executable mysqld
/usr/bin/ld: libsql.a(procedure.cc.o): bad reloc symbol index (0x635f7972 >= 0x1fa) for offset 0x324e5a5f00764564 in section `.debug_info'
libsql.a: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
sql/CMakeFiles/mysqld.dir/build.make:114: recipe for target 'sql/mysqld' failed
make: *** Error 1
CMakeFiles/Makefile2:4385: recipe for target 'sql/CMakeFiles/mysqld.dir/all' failed
make: *** Error 2
make: *** Waiting for unfinished jobs....
Linking CXX executable explain_filename-t
/usr/bin/ld: ../../sql/libsql.a(procedure.cc.o): bad reloc symbol index (0x635f7972 >= 0x1fa) for offset 0x324e5a5f00764564 in section `.debug_info'
../../sql/libsql.a: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
unittest/mysys/CMakeFiles/explain_filename-t.dir/build.make:114: recipe for target 'unittest/mysys/explain_filename-t' failed
make: *** Error 1
CMakeFiles/Makefile2:3285: recipe for target 'unittest/mysys/CMakeFiles/explain_filename-t.dir/all' failed
make: *** Error 2
Makefile:160: recipe for target 'all' failed
make: *** Error 2
Built target INFO_SRC
Built target INFO_BIN
Built target abi_check
Built target zlib
Built target yassl
Built target taocrypt
Built target readline
Built target mysqlservices
[ 13%] Built target strings
[ 22%] Built target mysys
[ 23%] Built target dbug
[ 24%] Built target comp_err
[ 24%] Built target GenError
[ 24%] Built target archive
[ 24%] Built target blackhole
[ 24%] Built target csv_embedded
[ 24%] Built target csv
[ 24%] Built target example
[ 24%] Built target federated
[ 24%] Built target federated_embedded
[ 26%] Built target heap
[ 27%] Built target hp_test2
[ 27%] Built target hp_test1
[ 29%] Built target heap_embedded
[ 37%] Built target innobase_embedded
[ 45%] Built target innobase
[ 50%] Built target myisam
[ 50%] Built target myisamchk
[ 50%] Built target myisam_ftdump
[ 55%] Built target myisam_embedded
[ 55%] Built target myisamlog
[ 56%] Built target myisampack
[ 58%] Built target myisammrg_embedded
[ 60%] Built target myisammrg
[ 62%] Built target perfschema_embedded
[ 64%] Built target perfschema
[ 64%] Built target mytap
[ 64%] Built target pfs_instr_class-oom-t
[ 64%] Built target pfs_instr-oom-t
[ 65%] Built target pfs_instr-t
[ 65%] Built target pfs-t
[ 65%] Built target pfs_instr_class-t
[ 65%] Built target audit_null
[ 65%] Built target qa_auth_interface
[ 65%] Built target qa_auth_server
[ 65%] Built target auth_test_plugin
[ 66%] Built target auth_socket
[ 66%] Built target qa_auth_client
[ 66%] Built target auth
[ 66%] Built target daemon_example
[ 67%] Built target ftexample
[ 67%] Built target semisync_slave
[ 68%] Built target semisync_master
[ 69%] Built target vio
[ 70%] Built target regex
[ 70%] Built target thr_lock
[ 70%] Built target clientlib
[ 70%] Built target libmysql
[ 70%] Built target mysqlclient
[ 70%] Built target symlink_libmysqlclient_r.a
[ 70%] Built target symlink_libmysqlclient_r.so
[ 70%] Built target symlink_libmysqlclient_r.so.18
[ 70%] Built target symlink_libmysqlclient_r.so.18.0.0
[ 70%] Built target my_vsnprintf-t
[ 70%] Built target my_atomic-t
[ 70%] Built target base64-t
[ 70%] Built target bitmap-t
[ 70%] Built target my_rdtsc-t
[ 70%] Built target lf-t
[ 71%] Built target my_malloc-t
[ 71%] Built target partition
[ 71%] Built target gen_lex_hash
[ 71%] Built target GenServerSource
[ 83%] Built target sql
[ 83%] Linking CXX executable explain_filename-t
/usr/bin/ld: ../../sql/libsql.a(procedure.cc.o): bad reloc symbol index (0x635f7972 >= 0x1fa) for offset 0x324e5a5f00764564 in section `.debug_info'
../../sql/libsql.a: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
unittest/mysys/CMakeFiles/explain_filename-t.dir/build.make:114: recipe for target 'unittest/mysys/explain_filename-t' failed
make: *** Error 1
CMakeFiles/Makefile2:3285: recipe for target 'unittest/mysys/CMakeFiles/explain_filename-t.dir/all' failed
make: *** Error 2
Makefile:160: recipe for target 'all' failed
make: *** Error 2
Built target INFO_SRC
Built target INFO_BIN
Built target abi_check
Built target zlib
Built target yassl
Built target taocrypt
Built target readline
Built target mysqlservices
[ 13%] Built target strings
[ 22%] Built target mysys
[ 23%] Built target dbug
[ 24%] Built target comp_err
[ 24%] Built target GenError
[ 24%] Built target archive
[ 24%] Built target blackhole
[ 24%] Built target csv_embedded
[ 24%] Built target csv
[ 24%] Built target example
[ 24%] Built target federated
[ 24%] Built target federated_embedded
[ 26%] Built target heap
[ 27%] Built target hp_test2
[ 27%] Built target hp_test1
[ 29%] Built target heap_embedded
[ 37%] Built target innobase_embedded
[ 45%] Built target innobase
[ 50%] Built target myisam
[ 50%] Built target myisamchk
[ 50%] Built target myisam_ftdump
[ 55%] Built target myisam_embedded
[ 55%] Built target myisamlog
[ 56%] Built target myisampack
[ 58%] Built target myisammrg_embedded
[ 60%] Built target myisammrg
[ 62%] Built target perfschema_embedded
[ 64%] Built target perfschema
[ 64%] Built target mytap
[ 64%] Built target pfs_instr_class-oom-t
[ 64%] Built target pfs_instr-oom-t
[ 65%] Built target pfs_instr-t
[ 65%] Built target pfs-t
[ 65%] Built target pfs_instr_class-t
[ 65%] Built target audit_null
[ 65%] Built target qa_auth_interface
[ 65%] Built target qa_auth_server
[ 65%] Built target auth_test_plugin
[ 66%] Built target auth_socket
[ 66%] Built target qa_auth_client
[ 66%] Built target auth
[ 66%] Built target daemon_example
[ 67%] Built target ftexample
[ 67%] Built target semisync_slave
[ 68%] Built target semisync_master
[ 69%] Built target vio
[ 70%] Built target regex
[ 70%] Built target thr_lock
[ 70%] Built target clientlib
[ 70%] Built target libmysql
[ 70%] Built target mysqlclient
[ 70%] Built target symlink_libmysqlclient_r.a
[ 70%] Built target symlink_libmysqlclient_r.so
[ 70%] Built target symlink_libmysqlclient_r.so.18
[ 70%] Built target symlink_libmysqlclient_r.so.18.0.0
[ 70%] Built target my_vsnprintf-t
[ 70%] Built target my_atomic-t
[ 70%] Built target base64-t
[ 70%] Built target bitmap-t
[ 70%] Built target my_rdtsc-t
[ 70%] Built target lf-t
[ 71%] Built target my_malloc-t
[ 71%] Built target partition
[ 71%] Built target gen_lex_hash
[ 71%] Built target GenServerSource
[ 83%] Built target sql
[ 83%] Linking CXX executable explain_filename-t
/usr/bin/ld: ../../sql/libsql.a(procedure.cc.o): bad reloc symbol index (0x635f7972 >= 0x1fa) for offset 0x324e5a5f00764564 in section `.debug_info'
../../sql/libsql.a: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
unittest/mysys/CMakeFiles/explain_filename-t.dir/build.make:114: recipe for target 'unittest/mysys/explain_filename-t' failed
make: *** Error 1
CMakeFiles/Makefile2:3285: recipe for target 'unittest/mysys/CMakeFiles/explain_filename-t.dir/all' failed
make: *** Error 2
Makefile:160: recipe for target 'all' failed
make: *** Error 2
include/mysql.sh: line 386: /usr/local/mysql/scripts/mysql_install_db: No such file or directory
mysql.service is not a native service, redirecting to systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable mysql
Starting mysql (via systemctl): mysql.service.
Restarting mysql (via systemctl): mysql.service.
include/mysql.sh: line 50: /usr/local/mysql/bin/mysqladmin: No such file or directory
failed, try other way...
Restarting mysql (via systemctl): mysql.service.
include/mysql.sh: line 66: /usr/local/mysql/bin/mysql: No such file or directory
Set password failed!
include/mysql.sh: line 68: /usr/local/mysql/bin/mysql: No such file or directory
FLUSH PRIVILEGES failed!
Restarting mysql (via systemctl): mysql.service.
include/main.sh: line 684: /usr/local/mysql/bin/mysql: No such file or directory
Update root password...
include/main.sh: line 684: /usr/local/mysql/bin/mysql: No such file or directory
... Failed!
Remove anonymous users...
include/main.sh: line 684: /usr/local/mysql/bin/mysql: No such file or directory
include/main.sh: line 684: /usr/local/mysql/bin/mysql: No such file or directory
... Failed!
Disallow root login remotely...
include/main.sh: line 684: /usr/local/mysql/bin/mysql: No such file or directory
... Failed!
Remove test database...
include/main.sh: line 684: /usr/local/mysql/bin/mysql: No such file or directory
... Failed!
Reload privilege tables...
include/main.sh: line 684: /usr/local/mysql/bin/mysql: No such file or directory
... Failed!
不清楚什么原因 licess 发表于 2019-5-30 09:06
不清楚什么原因
好的,谢谢军哥~
页:
[1]