grpc-lua
grpc-lua copied to clipboard
centos 7.8 compile fail.
following content is compile error log. how can i fix ?
/usr/bin/ld: CMakeFiles/lua-cpp-console.dir/src/lua.cpp.o: undefined reference to symbol 'readline'
//usr/lib64/libreadline.so.6: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
gmake[2]: *** [lua-cpp] Error 1
gmake[1]: *** [CMakeFiles/lua-cpp-console.dir/all] Error 2
gmake[1]: *** Waiting for unfinished jobs....
[100%] Built target luac-cpp
gmake: *** [all] Error 2
lua-cpp/5.3.4@jinq0123/testing:
lua-cpp/5.3.4@jinq0123/testing: ERROR: Package '4f7d6d5032b1a188f98e0c149ef6bf91e76af63e' build failed
lua-cpp/5.3.4@jinq0123/testing: WARN: Build folder /root/.conan/data/lua-cpp/5.3.4/jinq0123/testing/build/4f7d6d5032b1a188f98e0c149ef6bf91e76af63e
ERROR: lua-cpp/5.3.4@jinq0123/testing: Error in build() method, line 32
cmake.build()
ConanException: Error 2 while executing cmake --build '/root/.conan/data/lua-cpp/5.3.4/jinq0123/testing/build/4f7d6d5032b1a188f98e0c149ef6bf91e76af63e' '--' '-j8'
/usr/lib64/libreadline.so.6 is wrong. Try to reinstall libreadline.
i just reinstall
yum install readline-devel
but problem still
other solutions?
Make sure -lreadline exist in the link command.