Linux java 开发环境搭建 for mac

broken image

Sudo apt-get install libreadline6 libreadline6-dev

broken image

Makefile:63: recipe for target 'lua' failed usr/local/lib/libreadline.so:对‘BC’未定义的引用Ĭollect2: error: ld returned 1 exit status

broken image

usr/local/lib/libreadline.so:对‘tgetflag’未定义的引用 Gcc -std=gnu99 -o lua lua.o liblua.a -lm -Wl,-E -ldl -lreadline Gcc -std=gnu99 -O2 -Wall -Wextra -DLUA_COMPAT_5_2 -DLUA_USE_LINUX -c -o lua.o lua.c