Aftershot 2.2.1 wont start under Gentoo

AfterShot Pro General Questions & Getting Started Forum
Post Reply
deranonyme
Posts: 14
Joined: Fri Oct 26, 2012 7:13 pm
operating_system: Linux
System_Drive: N/A
32bit or 64bit: 64 Bit
Location: Germany - Saxony

Aftershot 2.2.1 wont start under Gentoo

Post by deranonyme »

When I try to start Aftershot with the wrapper script /usr/bin/AfterShot2X64 I get the following error message:

Code: Select all

Install Path:           /opt/AfterShot2(64-bit)
LD_PATH:                /opt/AfterShot2(64-bit)/lib:
XLIB_SKIP_ARGB_VISUALS: 1
Fatal: This application failed to start because it could not find or load the Qt platform plugin "xcb".

Reinstalling the application may fix this problem.
This application failed to start because it could not find or load the Qt platform plugin "xcb".

Reinstalling the application may fix this problem.
Reinstalling doesn't fix the problem. It also uses the installed qt5 libraries from the system and not from the package.

Any hints?
dFlyer
Posts: 136
Joined: Thu Jan 12, 2012 3:18 pm
operating_system: Linux
System_Drive: N/A
32bit or 64bit: 64 Bit
Location: Sevierville, Tennessee

Re: Aftershot 2.2.1 wont start under Gentoo

Post by dFlyer »

Try this link:

http://forum.corel.com/EN/viewtopic.php?f=94&t=57338

It's under bug and works with Ubuntu.
Thanks.
Gary Garibaldi
Linux since 96
Sony a700
Sony a100
deranonyme
Posts: 14
Joined: Fri Oct 26, 2012 7:13 pm
operating_system: Linux
System_Drive: N/A
32bit or 64bit: 64 Bit
Location: Germany - Saxony

Re: Aftershot 2.2.1 wont start under Gentoo

Post by deranonyme »

Thanks for the hint but it didn't work for me.
johanthor
Posts: 16
Joined: Fri Apr 05, 2013 8:53 am
operating_system: Linux
System_Drive: N/A
32bit or 64bit: 64 Bit
motherboard: Gigabyte GA-Z77 DH3
processor: Intel 2600K
ram: 24 Gbyte
Video Card: Nvidia 660 GTX
sound_card: Soundblaster Audigy
Hard_Drive_Capacity: 512 Gbyte
Monitor/Display Make & Model: HP ZR24w

Re: Aftershot 2.2.1 wont start under Gentoo

Post by johanthor »

deranonyme,

ASP and Gentoo user here, so in some way we'll make it work :)

First, what does

Code: Select all

$ locate libqxcb
say?
(the locate command is given by package sys-apps/mlocate, and you'll need root to run updatedb first)

On my system I have the following:

Code: Select all

/home/<user>/.dropbox-dist/dropbox-lnx.x86_64-3.8.6/plugins/platforms/libqxcb.so
/opt/AfterShot2(64-bit)/lib/plugins/platforms/libqxcb.so
/opt/dropbox/plugins/platforms/libqxcb.so
/usr/lib64/qt5/plugins/platforms/libqxcb.so
Based on your description, I think that's the file we need to make sure ASP finds.

Other than that, do you have

Code: Select all

x11-libs/libxcb
installed?

Regards,
Johan
deranonyme
Posts: 14
Joined: Fri Oct 26, 2012 7:13 pm
operating_system: Linux
System_Drive: N/A
32bit or 64bit: 64 Bit
Location: Germany - Saxony

Re: Aftershot 2.2.1 wont start under Gentoo

Post by deranonyme »

Thanks for your support.
libqxcb is installed.

Code: Select all

# locate libqxcb
/home/frank/.dropbox-dist/dropbox-lnx.x86_64-3.8.6/plugins/platforms/libqxcb.so
/opt/AfterShot2(64-bit)/lib/plugins/platforms/libqxcb.so
/opt/Pixum/Pixum Fotowelt/platforms/libqxcb.so
/usr/lib64/qt5/plugins/platforms/libqxcb.so
I think AfterShot's start script doesn't work properly on Gentoo and doesn't give access to the libraries installed by AfterShot itself.
johanthor
Posts: 16
Joined: Fri Apr 05, 2013 8:53 am
operating_system: Linux
System_Drive: N/A
32bit or 64bit: 64 Bit
motherboard: Gigabyte GA-Z77 DH3
processor: Intel 2600K
ram: 24 Gbyte
Video Card: Nvidia 660 GTX
sound_card: Soundblaster Audigy
Hard_Drive_Capacity: 512 Gbyte
Monitor/Display Make & Model: HP ZR24w

Re: Aftershot 2.2.1 wont start under Gentoo

Post by johanthor »

Hm, strange as it works here on my Gentoo-box... A silly question: how did you install it, via deb or rpm?
deranonyme
Posts: 14
Joined: Fri Oct 26, 2012 7:13 pm
operating_system: Linux
System_Drive: N/A
32bit or 64bit: 64 Bit
Location: Germany - Saxony

Re: Aftershot 2.2.1 wont start under Gentoo

Post by deranonyme »

I used a renamed ebuild from http://gpo.zugaina.org/media-gfx/aftershotpro/ChangeLog
Maybe there is a path variable not correct.
johanthor
Posts: 16
Joined: Fri Apr 05, 2013 8:53 am
operating_system: Linux
System_Drive: N/A
32bit or 64bit: 64 Bit
motherboard: Gigabyte GA-Z77 DH3
processor: Intel 2600K
ram: 24 Gbyte
Video Card: Nvidia 660 GTX
sound_card: Soundblaster Audigy
Hard_Drive_Capacity: 512 Gbyte
Monitor/Display Make & Model: HP ZR24w

Re: Aftershot 2.2.1 wont start under Gentoo

Post by johanthor »

If the /usr/bin/AfterShot2X64-script is somehow corrupt, you could diff it from my version, available here:
http://pastebin.com/nCbSdh5T

I didn't know of that ebuild, but I see it downloads official builds, so it seems correct. But what if you try to download the rpm from Corel's site
http://www.aftershotpro.com/en/support/updates/

and install it by

Code: Select all

sudo rpm -i --nodeps path_to_aftershot-file.rpm
(rpm is in app-arch/rpm by the way)

Does this work for you? The nodeps switch isn't beautiful, but since you got it installed by the other ebuild, you should already have the necessary dependencies installed.
deranonyme
Posts: 14
Joined: Fri Oct 26, 2012 7:13 pm
operating_system: Linux
System_Drive: N/A
32bit or 64bit: 64 Bit
Location: Germany - Saxony

Re: Aftershot 2.2.1 wont start under Gentoo

Post by deranonyme »

The hint with the rpm-installation was helpful. Now it works correctly. But it would be interesting to know the reason for the problem with the ebuild.
Last edited by deranonyme on Sat Sep 05, 2015 6:38 pm, edited 1 time in total.
johanthor
Posts: 16
Joined: Fri Apr 05, 2013 8:53 am
operating_system: Linux
System_Drive: N/A
32bit or 64bit: 64 Bit
motherboard: Gigabyte GA-Z77 DH3
processor: Intel 2600K
ram: 24 Gbyte
Video Card: Nvidia 660 GTX
sound_card: Soundblaster Audigy
Hard_Drive_Capacity: 512 Gbyte
Monitor/Display Make & Model: HP ZR24w

Re: Aftershot 2.2.1 wont start under Gentoo

Post by johanthor »

Glad to see it worked out. I didn't test the ebuild, and won't probably neither now :D
If you find some differences, please report back...

When a new version comes out, I usually remove the previous one by

Code: Select all

rpm -e name_of_package
and install the new one as above. Perhaps upgrading works, but it didn't before and it's too difficult to change :roll:

Best regards,
Johan
Post Reply