[gelöst] Fehlende Bibliotheken

Dieses Forum ist für die erweiterte Hilfe und Unterstützung vorgesehen:

Bitte stelle hier Deine Fragen zur fortgeschrittenen Benutzung von Mageia. Beispielsweise geht es hier um Fragen zum Netzwerk, automatischen Installationen, komplexer Serverkonfiguration, Kerneltuning, Aufsetzen eines Mageia-Mirrors, kurz gesagt: alle Aufgaben, die auch für erfahrene Benutzer eine Herausforderung sind.

[gelöst] Fehlende Bibliotheken

Beitragvon Andreas00 » Mär 27th, '20, 08:48

Hallo,

Ich habe vor kurzem Discord (Software für Chat, Videokonferenzen etc.) installiert.
Quelle: https://discordapp.com/download

Das *.deb-Paket konnte ich mit Alien problemlos konvertieren.
Im Ubuntu Wiki ist auch aufgelistet, welche Bibliotheken man noch dazu installieren muss, damit die Software läuft.
Link: https://wiki.ubuntuusers.de/Discord/

Um die Funktion der Videokonfernzen zu ermöglichen, fehlen allerdings noch zwei C-Bibliotheken (libc++1 (universe) und libc++abi1 (universe)), welche in den Repositories von Mageia fehlen.
Dazu gib es auch bereits einen Bug-Report bei Mageia, allerdings mit anderem Hintergrund.
Link: https://bugs.mageia.org/show_bug.cgi?id=25825

Kennt jemand einen Workaround, wie ich die beiden Bibliotheken sinnvoll einbinden kann?

Viele Grüße
Andreas
Zuletzt geändert von Andreas00 am Apr 1st, '20, 08:20, insgesamt 1-mal geändert.
Benutzeravatar
Andreas00
 
Beiträge: 58
Registriert: Nov 22nd, '19, 08:11

Re: Fehlende Bibliotheken

Beitragvon doktor5000 » Mär 27th, '20, 17:43

Andreas00 hat geschrieben:Kennt jemand einen Workaround, wie ich die beiden Bibliotheken sinnvoll einbinden kann?

Gibt es aktuell nicht. Discord lässt sich aber als Flatpak installieren, läuft hier ohne Probleme: https://flathub.org/apps/details/com.discordapp.Discord
Ich bin nicht böse, sondern nur ehrlich. Und wer lesen kann, ist klar im Vorteil.
----
Mageia - the magic continues
Benutzeravatar
doktor5000
 
Beiträge: 5946
Registriert: Jun 2nd, '11, 09:39

Re: Fehlende Bibliotheken

Beitragvon Andreas00 » Mär 30th, '20, 10:14

Hallo doktor5000,

Versuche das jetzt schon den ganzen Vormittag, aber ich bekomme Discord so auch nicht zum laufen. :(

Ich habe über das Repo Flatpak (x64) installiert und dann als su die Install-File ausgeführt:

Code: Alles auswählen
flatpak install --from /Downloads/com.discordapp.Discord.flatpakref


Soweit lief alles problemlos, aber wenn ich versuche Discord zu starten hängt es im Startbildschirm fest. (siehe Screenshot)
Der Repair-Befehl von Flatpak hat auch nicht geholfen, ebenso wenig eine De- und Neuinstallation ...

Hast du noch eine andere Idee, woran das liegen könnte bzw. welche Optionen ich habe?

Viele Grüße
Andreas
Dateianhänge
Bildschirmfoto vom 2020-03-30 11-10-55.png
Bildschirmfoto vom 2020-03-30 11-10-55.png (10.96 KiB) 2009-mal betrachtet
Benutzeravatar
Andreas00
 
Beiträge: 58
Registriert: Nov 22nd, '19, 08:11

Re: Fehlende Bibliotheken

Beitragvon doktor5000 » Mär 30th, '20, 16:14

Bitte mal auf der Konsole starten als normaler Benutzer via
Code: Alles auswählen
flatpak run com.discordapp.Discord

und dann die komplette Ausgabe hier posten.
Ich bin nicht böse, sondern nur ehrlich. Und wer lesen kann, ist klar im Vorteil.
----
Mageia - the magic continues
Benutzeravatar
doktor5000
 
Beiträge: 5946
Registriert: Jun 2nd, '11, 09:39

Re: Fehlende Bibliotheken

Beitragvon Andreas00 » Mär 31st, '20, 07:36

Hallo,

Ich habe Discord über Flatpak nochmal komplett neu installiert, diesmal nicht über die Repo-File, welche auf der Seite zum Download steh, sondern über das angegebene CLI-Kommando:
Code: Alles auswählen
flatpak install flathub com.discordapp.Discord

(CLI-Output im Anhang)

Anschließend der Start der App via CLI als normaler User:
Code: Alles auswählen
flatpak run com.discordapp.Discord

(Kompletter Output im Anhang)

Ich denke das Problem liegt hier, nur weis ich leider nicht, wie ich das lösen soll:
Code: Alles auswählen
[WebContents] did-fail-load -202 ERR_CERT_AUTHORITY_INVALID retry in 20000 ms
[WebContents] retrying load https://discordapp.com/app?_=1585635779247
(node:4) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 resume listeners added to [PowerMonitor]. Use emitter.setMaxListeners() to increase limit


Edit:

Anschließend noch ein Zweiter Anlauf zum Start, wodurch der Output etwas gekürzt wurde.
Dabei springen auch noch ein paar mehr Fehlermeldungen ins Auge ...
Code: Alles auswählen
[rechenzwerg@localhost ~]$ flatpak run com.discordapp.Discord
Gtk-Message: 08:41:18.705: Failed to load module "canberra-gtk-module"
Discord 0.0.10
Starting app.
Starting updater.
[Modules] Modules initializing
[Modules] Distribution: remote
[Modules] Host updates: enabled
[Modules] Module updates: enabled
[Modules] Module install path: /home/rechenzwerg/.var/app/com.discordapp.Discord/config/discord/0.0.10/modules
[Modules] Module installed file path: /home/rechenzwerg/.var/app/com.discordapp.Discord/config/discord/0.0.10/modules/installed.json
[Modules] Module download path: /home/rechenzwerg/.var/app/com.discordapp.Discord/config/discord/0.0.10/modules/pending
[30:0331/084119.112393:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command
[Modules] No updates to install
[Modules] Checking for host updates.
Error downloading with electron net: net::ERR_NAME_NOT_RESOLVED
Falling back to node net library..
[Updates] Error fetching https://discordapp.com/api/updates/stable?platform=linux&version=0.0.10: getaddrinfo EAI_AGAIN discordapp.com
[Modules] Host update failed: Error: getaddrinfo EAI_AGAIN discordapp.com
[Modules] Checking for host updates.
Error downloading with electron net: net::ERR_NAME_NOT_RESOLVED
Falling back to node net library..
[Updates] Error fetching https://discordapp.com/api/updates/stable?platform=linux&version=0.0.10: getaddrinfo EAI_AGAIN discordapp.com
[Modules] Host update failed: Error: getaddrinfo EAI_AGAIN discordapp.com
[Modules] Checking for host updates.
Error downloading with electron net: net::ERR_NAME_NOT_RESOLVED
Falling back to node net library..
[Modules] Host is up to date.
[Modules] Checking for module updates at https://discordapp.com/api/modules/stable/versions.json
Error downloading with electron net: net::ERR_ABORTED
Falling back to node net library..
[Modules] No module updates available.
[30:0331/084305.502051:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command
[WebContents] did-fail-load -202 ERR_CERT_AUTHORITY_INVALID retry in 1000 ms
[WebContents] retrying load https://discordapp.com/app?_=1585636985462
[WebContents] did-fail-load -202 ERR_CERT_AUTHORITY_INVALID retry in 2965.439683372384 ms
[Modules] Checking for host updates.
Error downloading with electron net: net::ERR_ABORTED
Falling back to node net library..
[Modules] Host is up to date.
[Modules] Checking for module updates at https://discordapp.com/api/modules/stable/versions.json
Error downloading with electron net: net::ERR_ABORTED
Falling back to node net library..
[Modules] No module updates available.
[WebContents] retrying load https://discordapp.com/app?_=1585636985462
[WebContents] did-fail-load -202 ERR_CERT_AUTHORITY_INVALID retry in 5682.513649514935 ms
[WebContents] retrying load https://discordapp.com/app?_=1585636985462
[WebContents] did-fail-load -202 ERR_CERT_AUTHORITY_INVALID retry in 11223.978599723241 ms
[WebContents] retrying load https://discordapp.com/app?_=1585636985462
[WebContents] did-fail-load -202 ERR_CERT_AUTHORITY_INVALID retry in 11936.031442207388 ms
Dateianhänge
discord_run_2.txt
Zweiter Startversuch
(3.12 KiB) 93-mal heruntergeladen
discord_install.txt
Installation
(1.54 KiB) 83-mal heruntergeladen
discord_run.txt
Erster Startversuch
(85.08 KiB) 89-mal heruntergeladen
Benutzeravatar
Andreas00
 
Beiträge: 58
Registriert: Nov 22nd, '19, 08:11

Re: Fehlende Bibliotheken

Beitragvon doktor5000 » Mär 31st, '20, 14:22

Also das mit dem Fehler zu ERR_CERT_AUTHORITY_INVALID wurde schonmal im int. Forum gemeldet: https://forums.mageia.org/en/viewtopic.php?f=7&t=13097
Kann ich hier aber nicht reproduzieren, und nach einer Neunistallation von Discord war es bei dem Kollegen aus dem int. Forum auch weg.
Auch die Fehler zur Namensauflösung sehen nicht so gesund aus ...

Bitte mal die Ausgabe posten von
Code: Alles auswählen
rpm -qa | grep p11 | sort


Bei mir sieht der Start aktuell so aus:
Code: Alles auswählen
[doktor5000@Mageia7]─[15:16:20]─[~] flatpak run com.discordapp.Discord
Gtk-Message: 15:16:23.134: Failed to load module "canberra-gtk-module"
Discord 0.0.10
Starting app.
Starting updater.
[Modules] Modules initializing
[Modules] Distribution: remote
[Modules] Host updates: enabled
[Modules] Module updates: enabled
[Modules] Module install path: /home/doktor5000/.var/app/com.discordapp.Discord/config/discord/0.0.10/modules
[Modules] Module installed file path: /home/doktor5000/.var/app/com.discordapp.Discord/config/discord/0.0.10/modules/installed.json
[Modules] Module download path: /home/doktor5000/.var/app/com.discordapp.Discord/config/discord/0.0.10/modules/pending
[Modules] No updates to install
[Modules] Checking for host updates.
[Modules] Host is up to date.
[Modules] Checking for module updates at https://discordapp.com/api/modules/stable/versions.json
[Modules] No module updates available.
(electron) 'isAccessibilitySupportEnabled function' is deprecated and will be removed. Please use 'accessibilitySupportEnabled property' instead.
(electron) 'setBadgeCount function' is deprecated and will be removed. Please use 'badgeCount property' instead.
Ich bin nicht böse, sondern nur ehrlich. Und wer lesen kann, ist klar im Vorteil.
----
Mageia - the magic continues
Benutzeravatar
doktor5000
 
Beiträge: 5946
Registriert: Jun 2nd, '11, 09:39

Re: Fehlende Bibliotheken

Beitragvon doktor5000 » Mär 31st, '20, 14:41

Hinweis: natürlich auch schauen, dass alle über flatpak installierten Abhängigkeiten aktuell sind
Code: Alles auswählen
flatpak update
Ich bin nicht böse, sondern nur ehrlich. Und wer lesen kann, ist klar im Vorteil.
----
Mageia - the magic continues
Benutzeravatar
doktor5000
 
Beiträge: 5946
Registriert: Jun 2nd, '11, 09:39

Re: Fehlende Bibliotheken

Beitragvon Andreas00 » Apr 1st, '20, 06:41

Guten Morgen,

Die RPM Abfrage erbringt folgendes:
Code: Alles auswählen
[root@localhost rechenzwerg]# rpm -qa | grep p11 | sort
lib64p11-kit0-0.23.15-1.mga7
libp11-kit0-0.23.15-1.mga7
p11-kit-0.23.15-1.mga7


Das Flatpak Update erbrachte, dass alles aktuell ist.

Eine Neuinstallation von von Discord via Flatpak schubse ich jetzt nochmal an und melde mich dann. Das wird ob meiner sagenumwobenen 350 kB/s Download-Rate etwas dauern ... :shock:

Viele Grüße
Andreas
Benutzeravatar
Andreas00
 
Beiträge: 58
Registriert: Nov 22nd, '19, 08:11

Re: Fehlende Bibliotheken

Beitragvon Andreas00 » Apr 1st, '20, 07:26

Also nach einer Neuinstallation besteht der Fehler weiterhin:
Code: Alles auswählen
[rechenzwerg@localhost ~]$ flatpak run com.discordapp.Discord
Gtk-Message: 08:22:41.321: Failed to load module "canberra-gtk-module"
Discord 0.0.10
Starting app.
Starting updater.
[Modules] Modules initializing
[Modules] Distribution: remote
[Modules] Host updates: enabled
[Modules] Module updates: enabled
[Modules] Module install path: /home/rechenzwerg/.var/app/com.discordapp.Discord/config/discord/0.0.10/modules
[Modules] Module installed file path: /home/rechenzwerg/.var/app/com.discordapp.Discord/config/discord/0.0.10/modules/installed.json
[Modules] Module download path: /home/rechenzwerg/.var/app/com.discordapp.Discord/config/discord/0.0.10/modules/pending
[30:0401/082241.727568:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command
[Modules] No updates to install
[Modules] Checking for host updates.
Error downloading with electron net: net::ERR_CERT_AUTHORITY_INVALID
Falling back to node net library..
[Modules] Host is up to date.
[Modules] Checking for module updates at https://discordapp.com/api/modules/stable/versions.json
Error downloading with electron net: net::ERR_ABORTED
Falling back to node net library..
[Modules] No module updates available.
[30:0401/082243.238541:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command
[WebContents] did-fail-load -202 ERR_CERT_AUTHORITY_INVALID retry in 1000 ms
[WebContents] retrying load https://discordapp.com/app?_=1585722163199
[WebContents] did-fail-load -202 ERR_CERT_AUTHORITY_INVALID retry in 2566.5569223071943 ms
[WebContents] retrying load https://discordapp.com/app?_=1585722163199
[WebContents] did-fail-load -202 ERR_CERT_AUTHORITY_INVALID retry in 5534.103655666044 ms
[WebContents] retrying load https://discordapp.com/app?_=1585722163199
[WebContents] did-fail-load -202 ERR_CERT_AUTHORITY_INVALID retry in 11022.576229447772 ms
Benutzeravatar
Andreas00
 
Beiträge: 58
Registriert: Nov 22nd, '19, 08:11

Re: Fehlende Bibliotheken

Beitragvon Andreas00 » Apr 1st, '20, 08:17

Ich bin schwer verwirrt!

Ich habe jetzt zum Testen nochmal das .deb-Paket von der Discord Website installiert und Discord dann in der Konsole gestartet, in der Hoffnung, das er mir sagt, welche Dateien/Codecs/... genau fehlen.

Und auf einmal geht es ... und ich habe keine Ahnung warum .... :o
Ich vermute, dass Flatpak die neuen fehlenden Bibliotheken mitgebracht hat ... oder das Mageia Update von heute früh, welches unter anderem ein Chromium Update enthielt.

Wie auch immer, es geht! :D

Daher möchte ich dir ganz herzlich für deine Hilfe danken!

Mit vielen Grüßen
Andreas

Edit:
Ich setze mir gerade eine Virtuelle Maschine auf und werde dort mal austesten, woran genau es lag.
Das Ergebnis poste hier dann hier, damit das für die Zukunft festgehalten ist und nicht in 3 Wochen die selbe Frage neu auftaucht.
Dann hat sich der Aufwand wenigstens ein bisschen gelöst. ;)
Benutzeravatar
Andreas00
 
Beiträge: 58
Registriert: Nov 22nd, '19, 08:11

Re: [gelöst] Fehlende Bibliotheken

Beitragvon Andreas00 » Apr 2nd, '20, 10:13

So, folgendes sollte funktionieren:

1. Das Discord .deb-Paket von der Herstellerseite laden
2. Dieses Paket mittels Alien zu einem .rpm konvertieren
Code: Alles auswählen
alien -r -c -v Downloads/discord-0.0.10.deb

3. Discord über RPM installieren
Code: Alles auswählen
rpm -ivh discord-0.0.10-2.x86_64.rpm

4. Die Bibliothek "libatomic1" installieren
Code: Alles auswählen
urpmi libatomic1


Danach hat es funktioniert.
Benutzeravatar
Andreas00
 
Beiträge: 58
Registriert: Nov 22nd, '19, 08:11

Re: [gelöst] Fehlende Bibliotheken

Beitragvon Andreas00 » Apr 7th, '20, 06:59

Und um das ganze vollends ab zu schließen, hat mir der Support von Discord auch noch geantwortet:

Es gibt eine Github-Seite zu Discord, wo die Abhängigkeiten aufgelistet sind:
https://github.com/simoniz0r/Discord-Linux-Client-Issues
Benutzeravatar
Andreas00
 
Beiträge: 58
Registriert: Nov 22nd, '19, 08:11


Zurück zu Erweiterter Support

Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 1 Gast