-
When I trying to build following the My commands: mkdir _build
cd _build
cmake .. -DLUA_LIBRARIES=/root/lua-5.4.7/src/liblua.a -DLUA_INCLUDE_DIR=../../lua-5.4.7/src -DWITH_SEQUOIA=OFF -DWITH_LEGACY_OPENPGP=ON
make The lua was compiled with a flag My problem:
My building environment:
My installations:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Before I post here, I tried to add |
Beta Was this translation helpful? Give feedback.
-
It's librpmio that's missing linkage to libm, elfdeps is just the messenger. Now, librpmio itself doesn't need libm for anything, it's Lua that does, and you seem to be statically linking it:
We don't generally endorse or support static linkage because it's nothing but a headache. As you're witnessing here. It might work if you add -libm to librpmio linked libraries but it's equally possible there are further issues. That /root/... path also suggests you're building as root which you absolutely should not be doing, for any software. |
Beta Was this translation helpful? Give feedback.
It's librpmio that's missing linkage to libm, elfdeps is just the messenger. Now, librpmio itself doesn't need libm for anything, it's Lua that does, and you seem to be statically linking it:
We don't generally endorse or support static linkage because it's nothing but a headache. As you're witnessing here. It might work if you add -libm to librpmio linked libraries but it's equally possible there are further issues.
That /root/... path also suggests you're building as root which you absolutely should not be doing, for any software.