Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Lucretia/a06d6ecec4f1035e2086f2a6af383cf2 to your computer and use it in GitHub Desktop.
Save Lucretia/a06d6ecec4f1035e2086f2a6af383cf2 to your computer and use it in GitHub Desktop.
~/src/others/clasp $ ltrace -e openat ./build/boehmprecise/iclasp
--- SIGSEGV (Segmentation fault) ---
/home/laguest/opt/clasp/share/clasp/src/core/debug_unixes.cc:351:elf_startup_loaded_object_callback moved vtableSection Start/End = 0x5651d7c651c0/0x5651d7d65000
Starting clasp-boehmprecise-2.5.0-235-ge805dd64a from base image
Resource file /home/laguest/.clasprc not found, skipping loading of it.
Top level in: #<PROCESS CORE::TOP-LEVEL @0x7f33e7885f09 (Running)>.
COMMON-LISP-USER>
+++ exited (status 0) +++
$ strace iclasp
execve("/home/laguest/opt/clasp/bin/iclasp", ["iclasp"], 0x7fff092f6bf0 /* 146 vars */) = 0
brk(NULL) = 0x55dddf428000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=423496, ...}, AT_EMPTY_PATH) = 0
mmap(NULL, 423496, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f5bd68ce000
close(3) = 0
openat(AT_FDCWD, "/lib64/glibc-hwcaps/x86-64-v2/libclang-cpp.so.14", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/lib64/glibc-hwcaps/x86-64-v2/", 0x7ffc3693be50, 0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib64/libclang-cpp.so.14", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/lib64/", {st_mode=S_IFDIR|0755, st_size=3770, ...}, 0) = 0
openat(AT_FDCWD, "/usr/lib64/glibc-hwcaps/x86-64-v2/libclang-cpp.so.14", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/usr/lib64/glibc-hwcaps/x86-64-v2/", 0x7ffc3693be50, 0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib64/libclang-cpp.so.14", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/usr/lib64/", {st_mode=S_IFDIR|0755, st_size=329456, ...}, 0) = 0
writev(2, [{iov_base="iclasp", iov_len=6}, {iov_base=": ", iov_len=2}, {iov_base="error while loading shared libra"..., iov_len=36}, {iov_base=": ", iov_len=2}, {iov_base="libclang-cpp.so.14", iov_len=18}, {iov_base=": ", iov_len=2}, {iov_base="cannot open shared object file", iov_len=30}, {iov_base=": ", iov_len=2}, {iov_base="No such file or directory", iov_len=25}, {iov_base="\n", iov_len=1}], 10iclasp: error while loading shared libraries: libclang-cpp.so.14: cannot open shared object file: No such file or directory
) = 124
exit_group(127) = ?
+++ exited with 127 +++
@Lucretia
Copy link
Author

Lucretia commented May 8, 2024

$ ls /usr/lib/clang/
15.0.7 16 17

ls /usr/lib/llvm/
15 16 17

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment