You are not logged in.

#1 2019-01-13 12:29:18

gunjah292
Member
From: Hamburg
Registered: 2011-05-05
Posts: 186

Application doesn't run because of xcb missing

I've just purchased Write!, which is a word processing app, that looks pretty nice. It comes in one file named Write-v1806280-x64. The installation instructions say to chmod +x the file and execute it. When I do that I get the following error:

This application failed to start because it could not find or load the Qt platform plugin "xcb" in "".

Available platform plugins are: xcb.

Reinstalling the application may fix this problem.

I've been trying to install some xcb related packages, but there are so many...

Last edited by gunjah292 (2019-01-13 14:37:25)


KDE Plasma, ThinkPad X380 Yoga, Intel Core i7-8550U, Intel UHD Graphics 620, 512GB PCIe-NVMe SSD (OPAL 2.0), 16GB PC4-19200 (2400 MHz)

Offline

#2 2019-01-13 15:01:15

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,530
Website

Re: Application doesn't run because of xcb missing

What is the output of `ldd Write-v1806280-x64`?

There may or may not be much we can do.  As this is a product you paid for, you should seek help from the provider.  They likely link against old libs and you will have a hard time getting this to work in arch.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#3 2019-01-13 15:33:44

gunjah292
Member
From: Hamburg
Registered: 2011-05-05
Posts: 186

Re: Application doesn't run because of xcb missing

Well, it seems this app is supposed to install automatically, after being chmodded. If I apply ldd on the installation file, it opens in Ark.

After the intallation the file is located at ~/Applications. If I apply ldd on it, it says the problem is not linked dynamically.

If I open the file, inside there is

/usr
/usr/bin
/usr/lib
/usr/plugins/
/usr/share
AppRun
Write.desktop
Write.svg
.DirIcon

It seems like all the necessary files should be inside /usr/lib. There are at least a few xcb libs.


KDE Plasma, ThinkPad X380 Yoga, Intel Core i7-8550U, Intel UHD Graphics 620, 512GB PCIe-NVMe SSD (OPAL 2.0), 16GB PC4-19200 (2400 MHz)

Offline

#4 2019-01-13 15:35:19

seth
Member
Registered: 2012-09-03
Posts: 51,213

Re: Application doesn't run because of xcb missing

stat /usr/lib/qt/plugins/platforms/libqxcb.so
loginctl show-session $XDG_SESSION_ID | grep -i type

lmg: Write-v1806280-x64 is some shell script?

Offline

#5 2019-01-13 15:38:42

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,530
Website

Re: Application doesn't run because of xcb missing

gunjah292 wrote:

If I apply ldd on the installation file, it opens in Ark.

This is ... not possible.

But apparently the original file is a self extracting archive.

gunjah292 wrote:

After the intallation the file is located at ~/Applications.

What?  You said the initial attempt failed with the error in your first post.  Clearly that was not accurate.  Please provide precise details of exactly what you are doing and what steps result in what error messages.

gunjah292 wrote:

If I open the file, inside there is

/usr
/usr/bin
/usr/lib
/usr/plugins/
/usr/share
AppRun
Write.desktop
Write.svg
.DirIcon

What do you mean by "opening the file"?  Is it a directory, or are you just previewing the contents of a yet-to-be-extracted archive?


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#6 2019-01-13 15:44:18

gunjah292
Member
From: Hamburg
Registered: 2011-05-05
Posts: 186

Re: Application doesn't run because of xcb missing

stat /usr/lib/qt/plugins/platforms/libqxcb.so

  File: /usr/lib/qt/plugins/platforms/libqxcb.so
  Size: 18256           Blocks: 40         IO Block: 4096   regular file
Device: 10306h/66310d   Inode: 394865      Links: 1
Access: (0755/-rwxr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2019-01-13 15:31:12.096681725 +0100
Modify: 2018-12-26 13:14:01.000000000 +0100
Change: 2019-01-13 15:31:12.096681725 +0100
 Birth: -

The application also ships its own libqcxb.so in /usr/lib/plugins/platforms. It should not be complaining...

loginctl show-session $XDG_SESSION_ID | grep -i type

Type=x11

KDE Plasma, ThinkPad X380 Yoga, Intel Core i7-8550U, Intel UHD Graphics 620, 512GB PCIe-NVMe SSD (OPAL 2.0), 16GB PC4-19200 (2400 MHz)

Offline

#7 2019-01-13 15:47:47

gunjah292
Member
From: Hamburg
Registered: 2011-05-05
Posts: 186

Re: Application doesn't run because of xcb missing

@Trilby:

Well I think it is an archive.

Yes, after the installation the file is just moved to ~/Applications. Before I tried to extract the image and merge the folders with my /usr directory, which.... broke my whole system. I just reinstalled Arch, because of it. Luckily I just bought a new computer and it was not that big of a deal, since I haven't had everything set up yet.

Well I guess, because of these stupid mistakes, after seven years of using arch, my posts still get moved to the Newbie folder XD

Last edited by gunjah292 (2019-01-13 15:50:51)


KDE Plasma, ThinkPad X380 Yoga, Intel Core i7-8550U, Intel UHD Graphics 620, 512GB PCIe-NVMe SSD (OPAL 2.0), 16GB PC4-19200 (2400 MHz)

Offline

#8 2019-01-13 15:51:49

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,530
Website

Re: Application doesn't run because of xcb missing

So what are the actual installation steps?  Please reread your first post to see why this is confusing: you said you were provided with a single file that you chmod'ed and then executed to get the error message you provided in your first post.  But now it sounds like none of that was true.  What command actually resulted in the error message in your first post, and what actual installation steps did you follow prior to that command?


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#9 2019-01-13 16:04:47

gunjah292
Member
From: Hamburg
Registered: 2011-05-05
Posts: 186

Re: Application doesn't run because of xcb missing

@Trilby: Sorry for that. I was confused myself. After chmodding and executing the file, it is automatically moved to ~/Applications and then executed, which results it the output from the initial post. If I now execute the file the ~/Applications in the terminal, I get the same output.

Last edited by gunjah292 (2019-01-13 16:05:09)


KDE Plasma, ThinkPad X380 Yoga, Intel Core i7-8550U, Intel UHD Graphics 620, 512GB PCIe-NVMe SSD (OPAL 2.0), 16GB PC4-19200 (2400 MHz)

Offline

#10 2019-01-13 16:11:09

seth
Member
Registered: 2012-09-03
Posts: 51,213

Re: Application doesn't run because of xcb missing

ldd that file, also post exact input and output of what you do and "ls -lR ~/Applications" (or whatever the subpath for this program there is)

On a sidenote: this thing looks a hell lot like https://typora.io/#linux ?

Last edited by seth (2019-01-13 16:21:22)

Offline

#11 2019-01-14 08:30:17

gunjah292
Member
From: Hamburg
Registered: 2011-05-05
Posts: 186

Re: Application doesn't run because of xcb missing

[user@Laptop ~]$ ldd /home/jan/Applications/Write-v1806280-x64 
not a dynamic executable

KDE Plasma, ThinkPad X380 Yoga, Intel Core i7-8550U, Intel UHD Graphics 620, 512GB PCIe-NVMe SSD (OPAL 2.0), 16GB PC4-19200 (2400 MHz)

Offline

#12 2019-01-14 08:43:04

seth
Member
Registered: 2012-09-03
Posts: 51,213

Re: Application doesn't run because of xcb missing

So what is that file?

file /home/jan/Applications/Write-v1806280-x64

(If it's a shell script, you'l have to post it. If the usage terms prevent this, we hit a wall and you *have* to go for vendor support)

Offline

Board footer

Powered by FluxBB