In Mageia 7, urpmi claims all good, but TDM won't start: /opt/trinity/bin/tdm_greet: error while loading shared libraries: libtderandr.so.0: cannot open shared object file: No such file or directory Mar 5 15:29:16 tdm: :0[1099] error: Abnormal termination of greeter for display :0, code 127, signal 0 (II) Server terminated successfully (0). Closing log file.
But: # ls -l /opt/trinity/lib/libtderand* lrwxrwxrwx 1 root root 21 Nov 1 10:22 /opt/trinity/lib/libtderandr.so.0 -> libtderandr.so.0.0.95* -rwxr-xr-x 1 root root 141092 Nov 1 10:22 /opt/trinity/lib/libtderandr.so.0.0.95* # ls -l /opt/trinity/ drwxr-xr-x 2 root root 6144 Mar 4 21:21 bin/ drwxr-xr-x 3 root root 1024 Nov 1 10:11 include/ drwxr-xr-x 6 root root 6144 Mar 4 21:21 lib/ drwxr-xr-x 5 root root 12288 Mar 4 21:21 lib64/ drwxr-xr-x 24 root root 1024 Nov 1 10:11 share/ # rpm -qa | grep tdelibs trinity-tdelibs-14.0.9-1.mga7
Nothing *tde* shows up in journal.
Le 05/03/2021 à 21:58, Felix Miata a écrit :
In Mageia 7, urpmi claims all good, but TDM won't start: /opt/trinity/bin/tdm_greet: error while loading shared libraries: libtderandr.so.0: cannot open shared object file: No such file or directory Mar 5 15:29:16 tdm: :0[1099] error: Abnormal termination of greeter for display :0, code 127, signal 0 (II) Server terminated successfully (0). Closing log file.
But: # ls -l /opt/trinity/lib/libtderand* lrwxrwxrwx 1 root root 21 Nov 1 10:22 /opt/trinity/lib/libtderandr.so.0 -> libtderandr.so.0.0.95* -rwxr-xr-x 1 root root 141092 Nov 1 10:22 /opt/trinity/lib/libtderandr.so.0.0.95* # ls -l /opt/trinity/ drwxr-xr-x 2 root root 6144 Mar 4 21:21 bin/ drwxr-xr-x 3 root root 1024 Nov 1 10:11 include/ drwxr-xr-x 6 root root 6144 Mar 4 21:21 lib/ drwxr-xr-x 5 root root 12288 Mar 4 21:21 lib64/ drwxr-xr-x 24 root root 1024 Nov 1 10:11 share/ # rpm -qa | grep tdelibs trinity-tdelibs-14.0.9-1.mga7
Nothing *tde* shows up in journal.
Hello Felix,
you are not supposed to have both directories /opt/trinity/lib (32 bits) and /opt/trinity/iib64 (64 bits).
In 64 bits trinity packages, only /opt/trinity/lib64 exists.
If TDM is looking for /opt/trinity/lib/libtderandr.so , then you probably have installed trinity-tdm package from 32 bits repository.
You can check all your installed trinity packages, including architecture, with following command:
rpm -qa "trinity*" --qf "%{name}-%{version}-%{release}.%{arch}\n"|sort
If you see packages ending with .i586 or .i686, then you should uninstall them, then reinstall the same package from 64 bits repository.
François
François Andriot composed on 2021-03-05 22:34 (UTC+0100):
you are not supposed to have both directories /opt/trinity/lib (32 bits) and /opt/trinity/iib64 (64 bits).
In 64 bits trinity packages, only /opt/trinity/lib64 exists.
If TDM is looking for /opt/trinity/lib/libtderandr.so , then you probably have installed trinity-tdm package from 32 bits repository.
You can check all your installed trinity packages, including architecture, with following command:
rpm -qa "trinity*" --qf "%{name}-%{version}-%{release}.%{arch}\n"|sort
If you see packages ending with .i586 or .i686, then you should uninstall them, then reinstall the same package from 64 bits repository.
Trinity-tdelibs was the only non-x86_64 package installed. How it happened I have no explanation for. /opt/trinity/lib/ only had empty directories after I purged the bad arch package and install the correct one, so I deleted that subtree, and everything seems right now. :)
Thanks much for quick response, and good answer!