rpmsphere / source.old

source packages of RPMSphere repository for Fedora Linux
4 stars 1 forks source link

navit depends onn #14

Open Pentium4User opened 4 months ago

Pentium4User commented 4 months ago

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:~$

m@localhost:~$ LANG=C dnf info navit
Last metadata expiration check: 0:06:44 ago on Mon Jul  8 19:29:39 2024.
Installed Packages
Name         : navit
Version      : 0.5.6
Release      : 1
Architecture : x86_64
Size         : 15 M
Source       : navit-0.5.6-1.src.rpm
Repository   : @System
From repo    : rpmsphere
Summary      : Car navigation system with routing engine
URL          : https://www.navit-project.org/
License      : GPLv2
Description  : Navit is a car navigation system with routing engine. Its modular
             : design is capable of using vector maps of various formats for
             : routing and rendering of the displayed map. It's even possible to
             : use multiple maps at a time.
             : 
             : The GTK+ or SDL user interfaces are designed to work well with
             : touch screen displays. Points of Interest of various formats are
             : displayed on the map.
             : 
             : The current vehicle position is either read from gpsd or directly
             : from NMEA GPS sensors.
             : 
             : The routing engine not only calculates an optimal route to your
             : destination, but also generates directions and even speaks to
             : you.

m@localhost:~$ 
bluebat commented 4 months ago

There is already /usr/lib64/navit/libsupport_espeak.so , but I don't know why navit can't find it :(

Pentium4User commented 4 months ago

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:~$ 
Pentium4User commented 4 months ago

Maybe the problem is that /usr/lib64/navit/ is not in the ldconfig -v output, so it isn't added there.

bluebat commented 4 months ago

Yes, thus we need: echo /usr/lib64/navit > /etc/ld.so.conf.d/navit-x86_64.conf ldconfig

Pentium4User commented 3 months ago

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?