`vhs demo.tape` dependency error on latest Arch release
Describe the bug
VHS can not run a .tape file due to error ttyd version (<nil>) is out of date. Running ttyd with ttyd --help results in ttyd: symbol lookup error: /usr/lib/libwebsockets.so.21: undefined symbol: sd_is_socket_inet, so it seems like the root cause might not by VHS itself.
Setup Please complete the following information along with version numbers, if applicable.
- OS: Arch Linux
- Shell: zsh
- Terminal Emulator: alacritty
- Terminal Multiplexer: tmux
To Reproduce Steps to reproduce the behavior:
- install vhs using
pacman -S vhs - create a new tap
vhs new demo.tape - try to run the tape
vhs demo.tape
Expected behavior
Latest VHS release on Arch can run .tape file
Additional context
pacman -Q vhs ttyd libwebsockets systemd-libs yields
- vhs 0.11.0-1
- ttyd 1.7.7-3
- libwebsockets 4.5.8-2
- systemd-libs 261.2-1
Not a VHS bug. Closing as wontfix, but still here to help.
Arch's libwebsockets 4.5.8-2 was built against an older systemd-libs. With systemd-libs 261.2-1 installed, libwebsockets.so.21 can no longer resolve sd_is_socket_inet at load time, so every consumer of it dies immediately (i.e. ttyd)
Please, update, like so:
sudo pacman -Syu
ttyd --version
Hey thanks! I was starting to investigate myself in the Arch GitLab but was not really sure if the issue was caused there (no experience with how the build process there works)