Could not initialize GLX

Hello,

I’m trying to package TeamSpeak with snapcraft.

I managed to get it (the client part) built.

However when I try launching the snap, I get the following message:

[carroarmato0:~] $ teamspeak3.teamspeak3-client QCoreApplication::applicationDirPath: Please instantiate the QApplication object first Could not initialize GLX /snap/teamspeak3/x16/teamspeak-client/ts3client_runscript.sh: line 47: 3534 Aborted (core dumped) ./ts3client_linux_amd64 $@

I installed the snap using --classic confinement.

I don’t know how to further troubleshoot the issue.

i’d take a look at the source of the mumble snap, that seems appripriate as a template for something like teamspeak:

1 Like

Hey, if you are still interested. I snapped the TS3 client: GitHub - dviererbe/teamspeak3-client-snap: Unofficial TeamSpeak3 Client Snap · GitHub

It got easier now with all the snapcraft plugins/extensions that help hook everything up correctly.

2 Likes