Open nyh opened 6 years ago
Earlier I missed the debug message
could not load libtinfo.so.6
Indeed,
$ readelf -a ROOTFS/usr/lib64/erlang/erts-7.0/bin/beam.smp
...
0x0000000000000001 (NEEDED) Shared library: [libtinfo.so.6]
...
However, we put in the image, from modules/ncurses and older version of this library,
/usr/lib/libtinfo.so.5: /home/nyh/tmp/osv/modules/ncurses/build/ncurses-5.9/lib/libtinfo.so.5
So the problem is that although we plan to use at runtime ncurses which we build ourselves, from modules/ncurses, we build Erlang with the system's ncurses. We should be consistent and choose one of two options:
On Fedora 27, gcc 7.2.1,
I get:
There's no report that the termcap library couldn't be loaded. Why is tgetent() not found?