手机版

编译mysql出现的问题undefined reference to tgoto|tputs

时间:2020-03-31 来源:互联网 编辑:宝哥软件园 浏览:

部分编译参数为:
./configure
–enable-assembler
–with-mysqld-ldflags=”-all-static”
–with-client-ldflags=”-all-static”
出现如下错误:
../cmd-line-utils/libedit/libedit.a(term.o): In function `term_echotc’:
term.c:(.text+0×1557): undefined reference to `tputs’
term.c:(.text+0×1580): undefined reference to `tgetstr’
term.c:(.text+0×1676): undefined reference to `tgoto’
term.c:(.text+0x169a): undefined reference to `tputs’
term.c:(.text+0×1761): undefined reference to `tgoto’
term.c:(.text+0×1781): undefined reference to `tputs’
解决方法:
./configure
–enable-assembler
–with-mysqld-ldflags=”-all-static”
–with-client-ldflags=”-all-static -ltinfo”
在–with-client-ldflags增加 -ltinfo。

版权声明:编译mysql出现的问题undefined reference to tgoto|tputs是由宝哥软件园云端程序自动收集整理而来。如果本文侵犯了你的权益,请联系本站底部QQ或者邮箱删除。

相关文章推荐