-
Notifications
You must be signed in to change notification settings - Fork 15
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
[BUG] `NCURSES6_TINFO_6.2.current' not found on Ubuntu Hirsute #19
Comments
Weird. 🤔 I don't have this issue on groovy. I guess this is another library conflict that I need to embed inside the snap. I don't have access to any Hirsuite Hippo release yet. I'll try to fix it asap. |
I think I fixed this issue with the PR I sent to snapcrafters/alacritty. Once it's merged, I'll push the snap into candidate channel, so that you can test. |
@skycaptain - i just pushed the built snap into candidate channel. Please test and let me know. For installation:
For moving to candidate channel:
|
OK, Describe the bug In alacritty as installed via snap, things don't work as they should.
From this, I'm afraid that installing alacritty via snap is kind of a non-starter. We need our terminal emulator to be running as a normal program and not in any kind of modified environment or sandbox, even with Expected behavior Works fine in Environment (please complete the following information):
Additional context Shell output:
LIBGL_DEBUG output (only if you have graphics related issue):
|
I'm currently working on this issue. You can follow via this PR. |
Additional info, I guess it is the same bug. |
Since this is the only solid reference I found to this bug, here is a second report, I don't know if it helps at all:
clearing LD_LIBRARY_PATH "fixes" the issue. |
Another report: $ tput
tput: /snap/alacritty/58/lib/x86_64-linux-gnu/libtinfo.so.6: version `NCURSES6_TINFO_6.2.20211010' not found (required by tput)
$ LD_LIBRARY_PATH=
$ tput
Usage: tput [options] [command]
... This is being triggered indirectly by |
issue persisting, doesn't prevent opening the file. $$•~» fdfind --type f --hidden --exclude .git | fzf-tmux -p --reverse | xargs nvim [14:46:24]
tput: symbol lookup error: tput: undefined symbol: _nc_safe_fopen, version NCURSES6_TINFO_6.2.20211010
tput: symbol lookup error: tput: undefined symbol: _nc_safe_fopen, version NCURSES6_TINFO_6.2.20211010
$$•~» fdfind --version [14:47:10]
fdfind 8.7.0
$$•~» fzf --version && fzf-tmux --version [14:47:30]
0.42.0 (debian)
tput: symbol lookup error: tput: undefined symbol: _nc_safe_fopen, version NCURSES6_TINFO_6.2.20211010
tput: symbol lookup error: tput: undefined symbol: _nc_safe_fopen, version NCURSES6_TINFO_6.2.20211010
fzf-tmux (with fzf 0.42.0 (debian))
$$•~» nvim --version [14:47:42]
NVIM v0.9.1
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3
Compilation: /usr/bin/cc -O2 -g -Og -g -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wvla -Wdouble-promotion -Wmissing-noreturn -Wmissing-format-attribute -Wmissing-prototypes -fno-common -Wno-unused-result -Wimplicit-fallthrough -fdiagnostics-color=always -fstack-protector-strong -DUNIT_TESTING -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -I/build/nvim/parts/nvim/build/.deps/usr/include/luajit-2.1 -I/usr/include -I/build/nvim/parts/nvim/build/.deps/usr/include -I/build/nvim/parts/nvim/build/build/src/nvim/auto -I/build/nvim/parts/nvim/build/build/include -I/build/nvim/parts/nvim/build/build/cmake.config -I/build/nvim/parts/nvim/build/src -I/usr/include -I/build/nvim/parts/nvim/build/.deps/usr/include -I/build/nvim/parts/nvim/build/.deps/usr/include -I/build/nvim/parts/nvim/build/.deps/usr/include -I/build/nvim/parts/nvim/build/.deps/usr/include -I/build/nvim/parts/nvim/build/.deps/usr/include -I/build/nvim/parts/nvim/build/.deps/usr/include
system vimrc file: "$VIM/sysinit.vim"
fall-back for $VIM: "/usr/share/nvim"
Run :checkhealth for more info
$$•~» echo $LD_LIBRARY_PATH [14:47:50]
/snap/alacritty/85/usr/lib/x86_64-linux-gnu:/snap/alacritty/85/lib/x86_64-linux-gnu:/snap/alacritty/85/usr/lib/x86_64-linux-gnu/dri
$$•~» tput [14:48:54]
tput: symbol lookup error: tput: undefined symbol: _nc_safe_fopen, version NCURSES6_TINFO_6.2.20211010
$$•~» |
This issue also persists for tmux: /snap/alacritty/85/lib/x86_64-linux-gnu/libtinfo.so.6: version `NCURSES6_TINFO_6.4.current' not found (required by tmux) My setup: -+ssssssssssssssssssyyssss+- OS: Ubuntu 23.10 x86_64
/ssssssssssshdmmNNmmyNMMMMhssssss/ Kernel: 6.5.0-14-generic
+ssssssssshmydMMMMMMMNddddyssssssss+ Uptime: 9 hours, 54 mins
/sssssssshNMMMyhhyyyyhmNMMMNhssssssss/ Packages: 1630 (dpkg), 23 (snap)
.ssssssssdMMMNhsssssssssshNMMMdssssssss. Shell: zsh 5.9
+sssshhhyNMMNyssssssssssssyNMMMysssssss+ Resolution: 1920x1080, 1920x1080
ossyNMMMNyMMhsssssssssssssshmmmhssssssso DE: GNOME 45.1
ossyNMMMNyMMhsssssssssssssshmmmhssssssso WM: Mutter
+sssshhhyNMMNyssssssssssssyNMMMysssssss+ WM Theme: Adwaita
.ssssssssdMMMNhsssssssssshNMMMdssssssss. Theme: Yaru-dark [GTK2/3]
/sssssssshNMMMyhhyyyyhdNMMMNhssssssss/ Icons: Yaru [GTK2/3]
+sssssssssdmydMMMMMMMMddddyssssssss+ Terminal: alacritty
/ssssssssssshdmNNNNmyNMMMMhssssss/ CPU: Intel i7-7500U (4) @ 3.500GHz
.ossssssssssssssssssdMMMNysssso. GPU: Intel HD Graphics 620
-+sssssssssssssssssyyyssss+- GPU: NVIDIA GeForce 940MX
`:+ssssssssssssssssss+:` Memory: 3237MiB / 7714MiB
.-/+oossssoo+/-. |
Describe the bug
I cannot get any executable that uses libncurses to run, e.g. nano.
To Reproduce
Steps to reproduce the behavior:
sudo snap install alacritty --classic
nano .config/alacritty/alacritty.yml
Expected behavior
Nano or any other executable that uses libnurses working. Works fine in Gnome Terminal.
ScreenshotsEnvironment (please complete the following information):
Additional contextNone as packaging related issue not issue with alacritty itself.
The text was updated successfully, but these errors were encountered: