-
Notifications
You must be signed in to change notification settings - Fork 34
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
luke: fatal: required symbol 'yaml_document_initialize' not found in any of libc, libyaml #38
Comments
This isn't an issue in lua version 5.1.5 but not working with customized 5.1.2 |
please paste the entire output from running: |
`65830:~/luarocks5_1/bin$ ./luarocks install specl --verbose > lyaml_error.log Error: Failed installing dependency: https://luarocks.org/lyaml-6.2.5-1.src.rock - Build error: Failed building. |
The above log obtained when trying to install specl with a fixed version of lua interpreter 5.1.2. Later, successfully installed specl by replacing 5.1.2 with 5.1.5 interpreter. then switched back to 5.1.2,but not sure about the risk of using older version of lua with latest specl for a project Also there is no "--debug" option for luarocks, hence only verbose output log attached. |
But the command I pasted is an invocation of |
/opt/lyaml/lyaml-6.2.5# /opt/sbengine/linux-x86_64-opengles_2.0-x11-obj/bin/lua build-aux/luke package="lyaml" version="6.2.5" PREFIX="/opt/luarocks5_1/lib/luarocks/rocks-5.1/lyaml/6.2.5-1" CFLAGS="-O2 -fPIC" LIBFLAG="-shared" LIB_EXTENSION="so" OBJ_EXTENSION="o" LUA="/opt/sbengine/linux-x86_64-opengles_2.0-x11-obj/bin/lua" LUA_DIR="/opt/luarocks5_1/lib/luarocks/rocks-5.1/lyaml/6.2.5-1/lua" LUA_INCDIR="/opt/sbengine/linux-x86_64-opengles_2.0-x11-obj/inclde/lua" YAML_DIR="/usr" YAML_INCDIR="/usr/include" YAML_LIBDIR="/usr/lib/x86_64-linux-gnu" --verbose --debug root@clade-shell:/opt/lyaml/lyaml-6.2.5# objdump -T /usr/lib/x86_64-linux-gnu/libyaml-0.so.2 | grep document_init |
Huh, interesting... seems like your compiler is sad about the lack of |
I have installed luarocks for a customised lua version based on 5.1. and now trying to install specl which depends on lyaml. and getting this error. I thought this was fixed in latest version.
`root@b8b290eb659a:/opt/luarocks5_1/bin# ./luarocks install specl
Installing https://luarocks.org/specl-14.1.7-1.src.rock
Missing dependencies for specl 14.1.7-1:
lyaml >= 5 (not installed)
optparse (not installed)
stdlib >= 41.2.0, < 42.0 (not installed)
specl 14.1.7-1 depends on luamacro >= 2.0 (2.5.1-1 installed)
specl 14.1.7-1 depends on lua >= 5.1, < 5.5 (5.1-1 provided by VM)
specl 14.1.7-1 depends on lyaml >= 5 (not installed)
Installing https://luarocks.org/lyaml-6.2.5-1.src.rock
lyaml 6.2.5-1 depends on lua >= 5.1, < 5.5 (5.1-1 provided by VM)
/<>j/bin/lua build-aux/luke package="lyaml" version="6.2.5" PREFIX="/opt/luarocks5_1/lib/luarocks/rocks-5.1/lyaml/6.2.5-1" CFLAGS="-O2 -fPIC" LIBFLAG="-shared" LIB_EXTENSION="so" OBJ_EXTENSION="o" LUA="/opt/<>j/bin/lua" LUA_DIR="/opt/luarocks5_1/lib/luarocks/rocks-5.1/lyaml/6.2.5-1/lua" LUA_INCDIR="/opt/<>/include/lua" YAML_DIR="/usr" YAML_INCDIR="/usr/include" YAML_LIBDIR="/usr/lib/x86_64-linux-gnu"
luke: fatal: required symbol 'yaml_document_initialize' not found in any of libc, libyaml
Error: Failed installing dependency: https://luarocks.org/lyaml-6.2.5-1.src.rock - Build error: Failed building.
root@b8b290eb659a:/opt/luarocks5_1/bin# ls
`
The text was updated successfully, but these errors were encountered: