Connect won't start due to missing Qt platform plugin "xcb"

This KB is for customers attempting to run Connect 3.7.4 on Ubuntu 16.04 LTS.

When starting Connect, you will receive the following error message:

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. 
Aborted (core dumped)

To rectify this, do the following:

  1. Back up the current lib file:
    # mv ~/.aspera/connect/lib/libstdc++.so.6  ~/.aspera/connect/lib/libstdc++.so.6.BCK
    
  2. Replace it with the system version of the file:
    # cp /usr/lib/x86_64-linux-gnu/libstdc++.so.6 ~/.aspera/connect/lib/
    

Connect should now be able to start.

 

A similar error could be found using Connect 3.8.0 is SUSE 12 Sp2  (x64)

The procedure is similar:

 

  1. Back up the current lib file:
    # mv ~/.aspera/connect/lib/libstdc++.so.6  ~/.aspera/connect/lib/libstdc++.so.6.BCK
    
  2. Replace it with the system version of the file:
    # cp /usr/lib64/libstdc++.so.6 ~/.aspera/connect/lib/

 

Indeed, we have experienced sometimes that due to the installation of other software (still SUSE) the plugin does not start and we need to force the path of the variable LD_LIBRARY_PATH

Add this line in the export section of ~/.aspera/connect/bin/asperaconnect 

LD_LIBRARY_PATH=$BASEDIR/../lib

 

1 Comments

  • Avatar
    Leonard Siebeneicher

    I can confirm this for Ubuntu 17.10.
    Replacing libstdc++.so.6 resolved it.

Article is closed for comments.
Powered by Zendesk