@skyjake I'm getting linker issues when I run buildtui.sh on Devuan Linux immediately after [100%] Linking C Shared library libsealcurses.so has been output. libncursesw.a(lib_set_term.o) warning relocation against COLORS
in read-only section .text
and libncursesw.a(lib_addch.o) relocation R_X86_64_PC32 against symbol TABSIZE
cannot be used when making a shared object; recompile with -fPIC. I don't suppose you could guide me to a fix? Not raised in issues as unsure if its a me or Environment issue rather than source issue. Note: no changes made to any source or script.
=> Posted in: s/Lagrange | ๐ drh3xx
2024-08-09 ยท 5 months ago
=> ๐น๏ธ skyjake [mod...] ยท Aug 10 at 04:51:
It sounds like the problem is that the static Curses cannot be linked into a shared library target on your platform. The fix would have to be in the SEALCurses CMakeLists.txt, I think, so it would use the Curses shared library instead.
However, the TUI build script has become obsolete in the 'dev' branch, so I'm not sure if there's much that can be done in practice. I recommend giving the 'dev' branch a try instead. It has an ENABLE_TUI CMake config variable for making the TUI build instead of a separate script. It also has an ENABLE_STATIC option for making a fully statically-linked build, although that shouldn't be needed here I think.
(Note that SEALCurses is a Git submodule in 'dev'.)
=> ๐ drh3xx [OP] ยท Aug 10 at 07:13:
@skyjake thanks for the reply. I'll attempt to build from the 'dev' branch tonight :)
text/gemini; charset=utf-8
This content has been proxied by September (ba2dc).