报错情况:
在执行./configure时出现configure: error: No curses/termcap library found
解决方法:
./configure时加上参数--with-named-curseslibs=/usr/lib/libncursesw.so.5
./configure再报错:
mysql /usr/lib/libncursesw.so.5: could not read symbols: File in wrong format
原来的编译选项为
./configure --with-named-curses-curseslibs=/usr/lib/libncursesw.so.5
修改为
./configure --with-named-curses-curseslibs=/usr/lib64/libncursesw.so.5
时间: 2024-10-11 11:38:32