centos 编译安装mysql 报错如下,该如何解决呢


[root@bogon mysql-5.7.17]# make 

[  0%] Built target INFO_BIN

[  0%] Built target INFO_SRC

[  0%] Built target abi_check

[  0%] Built target zlib

[  1%] Built target yassl

[  2%] Built target taocrypt

[  4%] Built target edit

[  7%] Built target strings

[ 11%] Built target mysys

[ 11%] Built target dbug

[ 12%] Built target mysys_ssl

[ 12%] Built target comp_err

[ 12%] Built target GenError

[ 12%] Built target archive

[ 12%] Built target archive_embedded

[ 12%] Built target csv

[ 12%] Built target csv_embedded

[ 13%] Built target heap

[ 14%] Built target heap_embedded

[ 14%] Built target hp_test1

[ 14%] Built target hp_test2

[ 20%] Built target perfschema

[ 20%] Built target mytap

[ 21%] Built target pfs_server_stubs

[ 21%] Built target pfs-t

[ 21%] Built target pfs_account-oom-t

[ 21%] Built target comp_sql

[ 22%] Built target GenSysSchema

[ 22%] Built target partition

[ 23%] Built target myisammrg

[ 23%] Built target federated

[ 23%] Built target blackhole

[ 23%] Built target lz4_lib

[ 30%] Built target innobase

[ 33%] Built target myisam

[ 33%] Built target ngram_parser

[ 33%] Built target vio

[ 33%] Built target regex

[ 33%] Built target binlogevents_static

[ 33%] Built target gen_lex_hash

[ 33%] Built target GenServerSource

[ 33%] Built target gen_lex_token

[ 33%] Built target GenDigestServerSource

[ 33%] Built target GenBootstrapPriv

[ 44%] Built target sql

[ 44%] Built target rpl

[ 44%] Built target master

[ 45%] Built target binlog

[ 46%] Built target slave

Linking CXX executable pfs_connect_attr-t

collect2: ld 返回 1

make[2]: *** [storage/perfschema/unittest/pfs_connect_attr-t] 错误 1

make[1]: *** [storage/perfschema/unittest/CMakeFiles/pfs_connect_attr-t.dir/all] 错误 2

make: *** [all] 错误 2


qq_Care在意_0
浏览 3766回答 1
1回答

Nameless13

cmake去掉-DWITH_PARTITION_STORAGE_ENGINE=1参数重新编译
打开App,查看更多内容
随时随地看视频慕课网APP