You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 25, 2024. It is now read-only.
In this case the executable is linked to libncursesw.so.6 and to libtinfo.so.6
This did not cause a problem before ncurses 6.1, but now it crashes.
libtinfo.so.6 is coming from pkg_config which is looking for "ncurses" instead of "ncursesw".
Other projects have this same issue as well: vifm/vifm#325 (comment)
I think the proper fix would be to check "ncursesw", "ncursesw5" (and possible "ncursesw6") with pkg_config if the "wide" feature is enabled (and not on macosx) instead of the current ones. In src/ll.rs it should be unnecessary to specify the shared library again.
The text was updated successfully, but these errors were encountered:
ngg
added a commit
to ngg/ncurses-rs
that referenced
this issue
Apr 22, 2018
Fixes crashes when mixing wide and non-wide linker dependencies.
For example if both the "wide" and the "panel" features are enabled,
libncursesw.so and libpanel.so were linked which can not work together.
Another example is on Gentoo Linux where ncurses is split into
libncurses.so and libtinfo.so, previously libtinfo.so and libncursesw.so
were linked together if the "wide" feature was set.
Also fix the recognition of wide_chtype for non-default include paths.
Fixesjeaye#151.
Fixes crashes when mixing wide and non-wide linker dependencies.
For example if both the "wide" and the "panel" features are enabled,
libncursesw.so and libpanel.so were linked which can not work together.
Another example is on Gentoo Linux where ncurses is split into
libncurses.so and libtinfo.so, previously libtinfo.so and libncursesw.so
were linked together if the "wide" feature was set.
Also fix the recognition of wide_chtype for non-default include paths.
Fixesjeaye#151.
In this case the executable is linked to libncursesw.so.6 and to libtinfo.so.6
This did not cause a problem before ncurses 6.1, but now it crashes.
libtinfo.so.6 is coming from pkg_config which is looking for "ncurses" instead of "ncursesw".
Other projects have this same issue as well: vifm/vifm#325 (comment)
I think the proper fix would be to check "ncursesw", "ncursesw5" (and possible "ncursesw6") with pkg_config if the "wide" feature is enabled (and not on macosx) instead of the current ones. In
src/ll.rs
it should be unnecessary to specify the shared library again.The text was updated successfully, but these errors were encountered: