VPS侦探论坛

 找回密码
 注册
查看: 3654|回复: 2

lnmp1.6 beta 编译安装mysql 5.5.62失败

[复制链接]
发表于 2019-5-30 08:14:06 | 显示全部楼层 |阅读模式

N1盒子,armbian 5.77,5.0.2内核。两个盒子,一个系统刷到闪迪U盘的没事,另外这个系统刷到USB读卡器的TF卡里,编译安装总是报错。
请军哥帮忙看看,多谢!


[100%] Built target sql
Scanning dependencies of target mysqld
[100%] Building CXX object sql/CMakeFiles/mysqld.dir/main.cc.o
Scanning dependencies of target explain_filename-t
[100%] Building CXX object unittest/mysys/CMakeFiles/explain_filename-t.dir/explain_filename-t.cc.o
[100%] 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[2]: *** [sql/mysqld] Error 1
CMakeFiles/Makefile2:4385: recipe for target 'sql/CMakeFiles/mysqld.dir/all' failed
make[1]: *** [sql/CMakeFiles/mysqld.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[100%] 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[2]: *** [unittest/mysys/explain_filename-t] Error 1
CMakeFiles/Makefile2:3285: recipe for target 'unittest/mysys/CMakeFiles/explain_filename-t.dir/all' failed
make[1]: *** [unittest/mysys/CMakeFiles/explain_filename-t.dir/all] Error 2
Makefile:160: recipe for target 'all' failed
make: *** [all] Error 2
[  0%] Built target INFO_SRC
[  0%] Built target INFO_BIN
[  0%] Built target abi_check
[  2%] Built target zlib
[  3%] Built target yassl
[  5%] Built target taocrypt
[  8%] Built target readline
[  9%] 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[2]: *** [unittest/mysys/explain_filename-t] Error 1
CMakeFiles/Makefile2:3285: recipe for target 'unittest/mysys/CMakeFiles/explain_filename-t.dir/all' failed
make[1]: *** [unittest/mysys/CMakeFiles/explain_filename-t.dir/all] Error 2
Makefile:160: recipe for target 'all' failed
make: *** [all] Error 2
[  0%] Built target INFO_SRC
[  0%] Built target INFO_BIN
[  0%] Built target abi_check
[  2%] Built target zlib
[  3%] Built target yassl
[  5%] Built target taocrypt
[  8%] Built target readline
[  9%] 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[2]: *** [unittest/mysys/explain_filename-t] Error 1
CMakeFiles/Makefile2:3285: recipe for target 'unittest/mysys/CMakeFiles/explain_filename-t.dir/all' failed
make[1]: *** [unittest/mysys/CMakeFiles/explain_filename-t.dir/all] Error 2
Makefile:160: recipe for target 'all' failed
make: *** [all] 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!



美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2019-5-30 09:06:05 | 显示全部楼层


不清楚什么原因
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2019-5-30 10:48:09 | 显示全部楼层

licess 发表于 2019-5-30 09:06
不清楚什么原因

好的,谢谢军哥~
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-11-20 09:40 , Processed in 0.026038 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表