New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
getting error while running ./build_linux.sh #11
Comments
Hi @raviguru123 , That error message means that the compiler is not finding a required Lua development header. That could be due to it not existing on the system, or it not being in the compiler's include path. To install those headers if they are missing, it is usually possible to install a Lua development package with your package manager. |
iblmdvshikhilg:client-lua ******$ ./build_osx.sh |
client-lua is designed to link against the non-async libaerospike.a. First build and install libaerospike.a without EVENT_LIB environment variable being set. Then rerun "build_osx.sh". |
Thanks @BrianNichols for answering my question. So you mean i cant build async library at all with this client-lua? if yes then how can i build or load Aerospike library with async. what steps are needed? Also I have again build Aerospike C client library with following ways:-
iblmdvshikhil:aerospike-client-c ****$ sudo make install Now I have run the ./build_osx.sh with following change in build_osx.sh -I/usr/local/include to -I/usr/local/include/lua. since it was not recognising lua headers. so i made this changes locally But still i am facing this issues while building this client-lua sudo ./build_osx.sh src/as_lua.c:343:2: warning: implicit declaration of function 'luaL_register' is invalid in C99 [-Wimplicit-function-declaration] |
Which version of lua did you install? Aerospike requires lua 5.1.5. Also, the async methods in async libaerospike library require an external event framework (like libev). If you add links for libev (-lev) in "build_osx.sh", then it should work as well. |
Hi Brian, I have been using lua development package 5.1. $ lua -v To build Aeropsike C client, I have run following commands
Even though i am facing this error while running build_osx.sh SHIKHIL:client-lua shikhil.g$ ./build_osx.sh pasting logs using -v |
FIPS_mode_set() is openssl function called from the aerospike client library. The linker is either not finding your openssl library (libssl.a or libssl.dylib in /usr/local/lib) or your openssl library version is less than Using openssl
I then ran a modified client-lua $ ./build_osx.sh |
src/as_lua.c:2:73: fatal error: lua.h: No such file or directory
compilation terminated.
gcc: error: ./src/as_lua.o: No such file or directory
The text was updated successfully, but these errors were encountered: