在suse上 mysql编译时出现的错误
mysql编译参数为
./configure --prefix=/usr/local/mysql --with-mysqld-ldflags=-all-static --with-client-ldflags=-all-static --with-unix-socket-path=/usr/local/mysql/tmp/mysql.sock --with-charset=utf8 --with-collation=utf8_general_ci --with-extra-charsets=all --with-innodb --without-debug
出现错误 cannot find -lncursesw
解决办法
编译参数
--with-client-ldflags=-all-static 更改为 --with-client-ldflags=-all-static-ltinfo