Open Pentium4User opened 4 months ago
There is already /usr/lib64/navit/libsupport_espeak.so , but I don't know why navit can't find it :(
It doesn't even search there:
m@localhost:~$ LANG=en_US.UTF-8 strace -e trace=file navit
execve("/usr/bin/navit", ["navit"], 0x7fffdafdbcf0 /* 55 vars */) = 0
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
openat(AT_FDCWD, "/lib64/glibc-hwcaps/x86-64-v3/libsupport_espeak.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/lib64/glibc-hwcaps/x86-64-v3/", 0x7ffc42335c00, 0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib64/glibc-hwcaps/x86-64-v2/libsupport_espeak.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/lib64/glibc-hwcaps/x86-64-v2/", 0x7ffc42335c00, 0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib64/libsupport_espeak.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/lib64/", {st_mode=S_IFDIR|0555, st_size=144498, ...}, 0) = 0
openat(AT_FDCWD, "/usr/lib64/glibc-hwcaps/x86-64-v3/libsupport_espeak.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/usr/lib64/glibc-hwcaps/x86-64-v3/", 0x7ffc42335c00, 0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib64/glibc-hwcaps/x86-64-v2/libsupport_espeak.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/usr/lib64/glibc-hwcaps/x86-64-v2/", 0x7ffc42335c00, 0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib64/libsupport_espeak.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/usr/lib64/", {st_mode=S_IFDIR|0555, st_size=144498, ...}, 0) = 0
navit: error while loading shared libraries: libsupport_espeak.so: cannot open shared object file: No such file or directory
+++ exited with 127 +++
m@localhost:~$
Maybe the problem is that /usr/lib64/navit/ is not in the ldconfig -v output, so it isn't added there.
Yes, thus we need: echo /usr/lib64/navit > /etc/ld.so.conf.d/navit-x86_64.conf ldconfig
Yes, thus we need: echo /usr/lib64/navit > /etc/ld.so.conf.d/navit-x86_64.conf ldconfig Can you please include that in the Scriptlet of the packet, including the removal of it in postun?
Hello! Navit depends on libsupport_espeak.so, but doesn't have that as rpm dependency.
m@localhost:~$ navit navit: error while loading shared libraries: libsupport_espeak.so: cannot open shared object file: No such file or directory m@localhost:~$