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
I am using Emacs (GNU Emacs 30.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.49, cairo version 1.18.4)) with straight and include the following in my init.el:
(use-package vterm
:ensuret:straightt)
I have the system package installed libvterm-dev on a Debian system:
emacs-libvterm doesn't find the system library and asks whether to compile: Vterm needs 'vterm-module' to work. Compile it now? (y or n)
I press y.
The compilation is completed successfully:
I see the files in the build directory of the package in the straight directory:
/home/user/.emacs.d/straight/build/vterm:
drwxr-xr-x 4 user user 4096 Dec 10 04:01 .
drwxr-xr-x 59 user user 4096 Dec 10 04:01 ..
drwxr-xr-x 3 user user 4096 Dec 10 04:01 build
lrwxrwxrwx 1 user user 68 Dec 10 04:01 CMakeLists.txt -> /home/user/.emacs.d/straight/repos/emacs-libvterm/CMakeLists.txt
lrwxrwxrwx 1 user user 61 Dec 10 04:01 elisp.c -> /home/user/.emacs.d/straight/repos/emacs-libvterm/elisp.c
lrwxrwxrwx 1 user user 61 Dec 10 04:01 elisp.h -> /home/user/.emacs.d/straight/repos/emacs-libvterm/elisp.h
lrwxrwxrwx 1 user user 68 Dec 10 04:01 emacs-module.h -> /home/user/.emacs.d/straight/repos/emacs-libvterm/emacs-module.h
drwxr-xr-x 2 user user 4096 Dec 10 04:01 etc
lrwxrwxrwx 1 user user 60 Dec 10 04:01 utf8.c -> /home/user/.emacs.d/straight/repos/emacs-libvterm/utf8.c
lrwxrwxrwx 1 user user 60 Dec 10 04:01 utf8.h -> /home/user/.emacs.d/straight/repos/emacs-libvterm/utf8.h
-rw-r--r-- 1 user user 2400 Dec 10 04:01 vterm-autoloads.el
lrwxrwxrwx 1 user user 62 Dec 10 04:01 vterm.el -> /home/user/.emacs.d/straight/repos/emacs-libvterm/vterm.el
-rw-r--r-- 1 user user 62591 Dec 10 04:01 vterm.elc
lrwxrwxrwx 1 user user 68 Dec 10 04:01 vterm-module.c -> /home/user/.emacs.d/straight/repos/emacs-libvterm/vterm-module.c
lrwxrwxrwx 1 user user 68 Dec 10 04:01 vterm-module.h -> /home/user/.emacs.d/straight/repos/emacs-libvterm/vterm-module.h
-rwxr-xr-x 1 user user 123416 Dec 10 04:01 vterm-module.so
I restart Emacs, but it still cannot load libvterm.
■ Error (use-package): vterm/:catch: Module could not be opened: "/home/user/.emacs.d/straight/build/vterm/vterm-module.so", "libvterm.so.0: cannot open shared object file: No such file or directory"
I even tried what is described in Guix;emacs;libvterm.so.0;shared library #764 to set LD_LIBRARY_PATH via env. (env LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/home/user/.emacs.d/straight/build/vterm" /home/user/emacs.sh) Still no luck, same error.
I am using Emacs (
GNU Emacs 30.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.49, cairo version 1.18.4)) with straight and include the following in myinit.el:libvterm-devon a Debian system:cmakeinstalled:libtool-bininstalled:libtoolinstalled:emacs-libvtermdoesn't find the system library and asks whether to compile:Vterm needs 'vterm-module' to work. Compile it now? (y or n)y.builddirectory of the package in thestraightdirectory:LD_LIBRARY_PATHviaenv. (env LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/home/user/.emacs.d/straight/build/vterm" /home/user/emacs.sh) Still no luck, same error.What am I overlooking/doing wrong?