Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

robo3t 1.1 failed to start on Ubuntu 17.04 #1385

Closed
maxp opened this issue Jun 16, 2017 · 51 comments

Comments

@maxp
Copy link

commented Jun 16, 2017

Freshly untared version failed to start. At the same time Robomongo 1.0 works well:

~/robo3t$ bin/robo3t 
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)

There were no changes in setup - just tar xvf ...

@madmuffin1

This comment has been minimized.

Copy link

commented Jun 16, 2017

this looks like the output that I described in #1384. Can you check if running QT_DEBUG_PLUGINS=1 bin/robo3t will produce the same output as aforementioned issue?

@maxp

This comment has been minimized.

Copy link
Author

commented Jun 16, 2017

I use Ubuntu 17.04.

 QT_DEBUG_PLUGINS=1 bin/robo3t 
QFactoryLoader::QFactoryLoader() checking directory path "/home/maxp/robo3t/lib/platforms" ...
QFactoryLoader::QFactoryLoader() looking at "/home/maxp/robo3t/lib/platforms/libqxcb.so"
Found metadata in lib /home/maxp/robo3t/lib/platforms/libqxcb.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "xcb"
        ]
    },
    "className": "QXcbIntegrationPlugin",
    "debug": false,
    "version": 329472
}


Got keys from plugin meta data ("xcb")
QFactoryLoader::QFactoryLoader() checking directory path "/home/maxp/robo3t/bin/platforms" ...
loaded library "/home/maxp/robo3t/lib/platforms/libqxcb.so"
QLibraryPrivate::loadPlugin failed on "/home/maxp/robo3t/lib/platforms/libqxcb.so" : "Cannot load library /home/maxp/robo3t/lib/platforms/libqxcb.so: (/usr/lib/x86_64-linux-gnu/libboost_system.so.1.62.0: symbol _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED1Ev, version GLIBCXX_3.4.21 not defined in file libstdc++.so.6 with link time reference)"
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)
@madmuffin1

This comment has been minimized.

Copy link

commented Jun 16, 2017

so apparently this is a duplicate of #1384. The line just above "This application failed" is describing the root cause.

@alejandroge

This comment has been minimized.

Copy link

commented Jun 17, 2017

same problem here with Ubuntu 17.04. Apparently they are trying to fix the problem atm.

http://blog.robomongo.org/robomongo-is-robo-3t/
That's the link to the post at Robomongo page. You can see the comments if you scroll to the bottom of the page

@simsekgokhan

This comment has been minimized.

Copy link
Collaborator

commented Jun 19, 2017

Hey guys, sorry for the inconvenience, seems like it is seen only on 17.04 and seems to work on 16.04 and 14.04. We are investigating the problem with high importance.

@smalike

This comment has been minimized.

Copy link

commented Jun 21, 2017

ubuntu 17.04

sudo apt update
sudo apt upgrade
bin/robo3t

Error message:

Cannot mix incompatible Qt library (version 0x50700) with this library (version 0x50701)
已放弃 (核心已转储)

It's ok.

~/workspace/chinaso/svn/nodejs$ cd ~/workspace/robo3t-1.1.1-linux-x86_64-c93c6b
0/lib/
~/workspace/robo3t-1.1.1-linux-x86_64-c93c6b0/lib$ mkdir qt
~/workspace/robo3t-1.1.1-linux-x86_64-c93c6b0/lib$ mv *Qt* qt/
~/workspace/robo3t-1.1.1-linux-x86_64-c93c6b0/lib$ ~/workspace/robo3t-1.1.1-linux-x86_64-c93c6b0/bin/robo3t

It work!

@maggo2801

This comment has been minimized.

Copy link

commented Jun 21, 2017

@smalike
I get the following error message

bin/robo3t: relocation error: /usr/lib/x86_64-linux-gnu/libproxy.so.1: symbol _ZTTNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEE, version GLIBCXX_3.4.21 not defined in file libstdc++.so.6 with link time reference

Is there any solution for it?

@simsekgokhan

This comment has been minimized.

Copy link
Collaborator

commented Jun 21, 2017

Hi guys, can you try the method below? It worked in our labs.

mkdir ~/robo-backup
mv robo3t-1.1.1-linux-x86_64-c93c6b0/lib/libstdc++* ~/robo-backup/
robo3t-1.1.1-linux-x86_64-c93c6b0/bin/robo3t

@juliashibalko juliashibalko changed the title robo3t 1.1 failed to start robo3t 1.1 failed to start on Ubuntu 17.04 Jun 27, 2017

@juliashibalko juliashibalko self-assigned this Jun 27, 2017

@rodislav

This comment has been minimized.

Copy link

commented Jul 12, 2017

in other words: deleting libstdc++* from lib folder solved the issue

ps. still I see no reason to make a backup, since the downloaded version is not running anyways :))

@aashkafirst

This comment has been minimized.

Copy link

commented Jul 16, 2017

It worked!!!
Thanks @simsekgokhan

@somppa

This comment has been minimized.

Copy link

commented Jul 17, 2017

Faced the same issue with Ubuntu 16.04.
Deleting libstdc++ from lib folder worked also as temporary solution.
Thanks @simsekgokhan @rodislav

@murshid1988

This comment has been minimized.

Copy link

commented Jul 21, 2017

@rodislav's solution worked for me as well :) 👍

@nervgh

This comment has been minimized.

Copy link

commented Jul 28, 2017

Same here. Thank you for temporary solution 👍

@vietdien2005

This comment has been minimized.

Copy link

commented Jul 31, 2017

It worked, thanks @simsekgokhan

@antoniobusrod

This comment has been minimized.

Copy link

commented Jul 31, 2017

Is this ticket duplicated from #1384?

@himanshuphirke

This comment has been minimized.

Copy link

commented Aug 3, 2017

Solution from @simsekgokhan worked
Thanks

@mgscreativa

This comment has been minimized.

Copy link

commented Aug 4, 2017

Hi! I had no luck. ubuntu 16.04 x64

martin@:~$ '/home/robo3t/bin/robo3t' 
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.
Abortado

Deleting libstdc++* didn't help either...

@aviadhahami

This comment has been minimized.

Copy link

commented Aug 6, 2017

Hi guys, can you try the method below? It worked in our labs.

mkdir ~/robo-backup
mv robo3t-1.1.1-linux-x86_64-c93c6b0/lib/libstdc++* ~/robo-backup/
robo3t-1.1.1-linux-x86_64-c93c6b0/bin/robo3t

You're a wizard Harry 🎉

@mgscreativa

This comment has been minimized.

Copy link

commented Aug 7, 2017

Ho luck for me! moving /lib/libstdc++* makes all text from the app go away! no-libstdc -issue

@FelipeRuizGarcia

This comment has been minimized.

Copy link

commented Aug 10, 2017

Its works!
Thanks @simsekgokhan

@dougbm

This comment has been minimized.

Copy link

commented Aug 17, 2017

I got the same error using Ubuntu 16.04 LTS. Moving those files out solved the problem. Thanks!

@miqueiaspenha

This comment has been minimized.

Copy link

commented Aug 30, 2017

Thanks!!! @rodislav

@Redsandro

This comment has been minimized.

Copy link

commented Sep 16, 2017

Experienced the same problem on Ubuntu 17.10, Ubuntu 17.04, and Ubuntu 16.04 LTS.

Removing lib/libstdc++* fixed the problem. Thanks @simsekgokhan!

@spywarehunter

This comment has been minimized.

Copy link

commented Sep 19, 2017

Working on Ubuntu 17.04 and moving those files out solved the problem.

@swapnilgd021

This comment has been minimized.

Copy link

commented Oct 16, 2017

It worked for me on Ubuntu 16.04
Thank you @simsekgokhan

@rahul356357

This comment has been minimized.

Copy link

commented Oct 23, 2017

@simsekgokhan thanks the solution worked

@victor-3wp

This comment has been minimized.

Copy link

commented Oct 24, 2017

Deleting the libstdc++.so.6 file in the lib directory worked for me

@imccausl

This comment has been minimized.

Copy link

commented Oct 30, 2017

Deleted both libstdc++ files and it is now working. Ubuntu 17.10.

@vnenkpet

This comment has been minimized.

Copy link

commented Nov 6, 2017

Makes me wonder if you actually need that lib? Doesn't removing it break anything?

@Nayana-Amagi

This comment has been minimized.

Copy link

commented Nov 7, 2017

Thaks a lot it resolved the problem

@christianorossini

This comment has been minimized.

Copy link

commented Nov 17, 2017

Saved my day. Thanks!

@digitalh2o2

This comment has been minimized.

Copy link

commented Dec 1, 2017

This solution worked! Many thanks!

@rudiw

This comment has been minimized.

Copy link

commented Dec 13, 2017

Thank you @rodislav

robo3t-1.1.1-linux-x86_64-c93c6b0

DISTRIB_ID=LinuxMint
DISTRIB_RELEASE=18.3
DISTRIB_CODENAME=sylvia
DISTRIB_DESCRIPTION="Linux Mint 18.3 Sylvia"
NAME="Linux Mint"
VERSION="18.3 (Sylvia)"
ID=linuxmint
ID_LIKE=ubuntu
PRETTY_NAME="Linux Mint 18.3"
VERSION_ID="18.3"
HOME_URL="http://www.linuxmint.com/"
SUPPORT_URL="http://forums.linuxmint.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/linuxmint/"
VERSION_CODENAME=sylvia
UBUNTU_CODENAME=xenial
cat: /etc/upstream-release: Is a directory

For env above, it is happening too:

@arubislander

This comment has been minimized.

Copy link

commented Dec 18, 2017

Encountered this same issue while making a snap of the new robo3t. The proffered solution works for the snap too. The snap can be found: https://github.com/arubislander/robomongo-snap

@simsekgokhan

This comment has been minimized.

Copy link
Collaborator

commented Dec 21, 2017

Hi All, again sorry for the inconvenience and for the delay. We have an enhancement to fix this problem. But, we cannot verify our fix for 16.04 (we can for 17.04), since we are unable to reproduce in our systems. We are asking your help to test the following beta for us (fingers crossed). Thanks in advance.

Robo 3T 1.2 - Beta

@simsekgokhan simsekgokhan added this to Failed to start on Ubuntu 17.04 in Robo 3T 1.2 - Beta Testing Dec 21, 2017

@simsekgokhan simsekgokhan added this to Ready-For-Testing in Robo 3T 1.2 Dec 24, 2017

@juliashibalko juliashibalko moved this from Ready-For-Testing to Completed in Robo 3T 1.2 Dec 26, 2017

@sangeeth18

This comment has been minimized.

Copy link

commented Dec 28, 2017

@simsekgokhan Many Thanks it worked !!

@Developer-Amit

This comment has been minimized.

Copy link

commented Dec 29, 2017

@rodislav , Thanks Worked me. 👍

@stianl

This comment has been minimized.

Copy link

commented Jan 2, 2018

@simsekgokhan 1.2 Beta is working fine on Ubuntu 17.10.

@fernandokosh

This comment has been minimized.

Copy link

commented Jan 18, 2018

Robo 3T 1.1.1 still only working on 17.04 after deleting libstdc++.so.6*.

@akshayarise

This comment has been minimized.

Copy link

commented Jan 30, 2018

Faced the same issue with Ubuntu 17.10.
Deleting libstdc++ from lib folder worked for me.
Thanks @simsekgokhan @rodislav

@ngminhtrung

This comment has been minimized.

Copy link

commented Feb 2, 2018

Encountered same issue:

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

Confirming on Linux Mint 18.3 Sylvia: Just running the command as mentioned above in the /lib folder will fix the issue.

rm libstdc++*.*
@kamatheuska

This comment has been minimized.

Copy link

commented Feb 8, 2018

Had the same issue on Ubuntu 16.04. It was resolved removing the libstdc++.. Thanks!

@gauravparmar

This comment has been minimized.

Copy link

commented Feb 15, 2018

I am facing the same issue on Ubuntu 14.04 for Robo 3T package (robo3t-1.1.1-linux-x86_64-c93c6b0.tar.gz) but it did not get resolved even after removing lib/libstdc++.
I am getting below two error on running ./robo3t after removal of libstdc++. in lib

./robo3t: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by ./robo3t)

./robo3t: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by ./robo3t)

@JSn1nj4

This comment has been minimized.

Copy link

commented Feb 17, 2018

@simsekgokhan Joining late, but also confirming that beta 1.2 does work on Kubuntu 17.10.

@iammimi

This comment has been minimized.

Copy link

commented Feb 21, 2018

I am also having this issue in 17.04, Qt5.9.4

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

Reinstalling the application may fix this problem.
Aborted (core dumped)

I tried to remove the libstdc++* but got this error

error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or 
directory

I am so new to Ubuntu and Qt, so I appreciate your help.

Not sure if this info will help:

echo $LD_LIBRARY_PATH
/usr/local/lib:/home/miminez/Qt5.9.4/Tools/QtCreator/lib/Qt/lib

Updating the Ubuntu version is not my option due to some dependencies.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.