configure: error: readline library not found/libreadline.so: undefined reference to tputs

简介: configure: error: readline library not found/libreadline.so: undefined reference to tputs
  • 编译时显示错误:
configure: error: readline library not found
  • 确定编译readline

https://blog.csdn.net/quantum7/article/details/106175380

  • 看看config.log
configure:11829: gcc -o conftest -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -I/home/quantum6/build_libs/include -fPIC  -D_GNU_SOURCE  -L/home/quantum6/build_libs/lib  conftest.c -lreadline -lrt -lcrypt -ldl -lm  >&5
/home/quantum6/build_libs/lib/libreadline.so: undefined reference to `tputs'
/home/quantum6/build_libs/lib/libreadline.so: undefined reference to `tgoto'
/home/quantum6/build_libs/lib/libreadline.so: undefined reference to `tgetflag'
/home/quantum6/build_libs/lib/libreadline.so: undefined reference to `UP'
/home/quantum6/build_libs/lib/libreadline.so: undefined reference to `tgetent'
/home/quantum6/build_libs/lib/libreadline.so: undefined reference to `tgetnum'
/home/quantum6/build_libs/lib/libreadline.so: undefined reference to `PC'
  • 需要编译ncurses

https://blog.csdn.net/quantum7/article/details/106175841

目录
相关文章
|
7月前
|
小程序 前端开发 API
【微信小程序】TypeError: Cannot read property ‘get‘ of undefined & Error: MiniProgramError
【微信小程序】TypeError: Cannot read property ‘get‘ of undefined & Error: MiniProgramError
|
3月前
|
存储 API Windows
MASM32连接程序时error A2006: undefined symbol : u
MASM32连接程序时error A2006: undefined symbol : u
|
7月前
|
资源调度 前端开发
编译第三方前端项目时候出现Syntax Error: TypeError: Cannot set properties of undefined (setting ‘parent‘)
编译第三方前端项目时候出现Syntax Error: TypeError: Cannot set properties of undefined (setting ‘parent‘)
476 0
Uncaught runtime errors: × ERROR Cannot read properties of undefined (reading ‘ vue2&vue-router兼容性问题
Uncaught runtime errors: × ERROR Cannot read properties of undefined (reading ‘ vue2&vue-router兼容性问题
422 0
Fatal error: Call to undefined function openssl_pkey_get_private()
Fatal error: Call to undefined function openssl_pkey_get_private()
77 0
Error:express-session deprecated undefined resave option; provide resave option app.js:17:10
Error:express-session deprecated undefined resave option; provide resave option app.js:17:10
Error:express-session deprecated undefined resave option; provide resave option app.js:17:10
Error: undefined method `launchd_service_path‘ for xxx
使用brew命令进行启动就报错。
242 0
|
JavaScript
vue报错: ERROR TypeError: Cannot read property 'version' of undefined
vue报错: ERROR TypeError: Cannot read property 'version' of undefined
128 1
|
NoSQL MongoDB
connect-mongo无法连接到mongodb报错Error: failed to connect to [undefined:27017]
connect-mongo无法连接到mongodb报错Error: failed to connect to [undefined:27017]
|
Ubuntu C语言
【ubuntu】2.c:(.text+0xd2): undefined reference to `pthread_create‘ collect2: error: ld returned
【ubuntu】2.c:(.text+0xd2): undefined reference to `pthread_create‘ collect2: error: ld returned
145 0