Page 1 of 1

Simulator won't run on Ubuntu 20.04 64-bit - Undefined symbol

Posted: 21 Nov 2020, 17:44
by TeoProt
I am trying to run Coppelia Simulator on Ubuntu 20.04 64-bit. I am running the script and I keep getting the following error:

./coppeliaSim: symbol lookup error: ./coppeliaSim: undefined symbol: _ZdlPvm, version Qt_5

I did some online search but I was unable to find a proper solution. The versions of Qt installed are:

qtchooser -list-versions
4
5
default
qt4-x86_64-linux-gnu
qt4
qt5-x86_64-linux-gnu
qt5


I could really use some help in order to make the simulator run properly.

Re: Simulator won't run on Ubuntu 20.04 64-bit - Undefined symbol

Posted: 24 Nov 2020, 15:21
by coppelia
Hello,

how exactly are you trying to start CoppeliaSim?
What is the complete error output?

Cheers

Re: Simulator won't run on Ubuntu 20.04 64-bit - Undefined symbol

Posted: 24 Nov 2020, 19:01
by TeoProt
coppelia wrote: 24 Nov 2020, 15:21 Hello,

how exactly are you trying to start CoppeliaSim?
What is the complete error output?

Cheers
I navigate to the folder containing all the files of the simulator and running the launch script like:

./coppeliaSim

And the output is the following:

./coppeliaSim: symbol lookup error: ./coppeliaSim: undefined symbol: _ZdlPvm, version Qt_5

Re: Simulator won't run on Ubuntu 20.04 64-bit - Undefined symbol

Posted: 24 Nov 2020, 19:24
by TeoProt
I have to confess that the problem was that I was running the command:

./coppeliaSim

instead of the appropriate command:

./coppeliaSim.sh

Now, it is solved.

Re: Simulator won't run on Ubuntu 20.04 64-bit - Undefined symbol

Posted: 03 Dec 2020, 12:49
by ohnowhathaveidone
As a side note: should you want to run the coppeliaSim binary directly (e. g. for headless simulations or if you want gdb/valgrind it), you can first run

Code: Select all

source coppeliaSim.sh
to set the environment variables correctly in your shell session. After this, you can start the binary directly (in that one shell session). This will, however, likely break the environment for other binaries in the session.

(#worksOnMyMachine though... :) )

Re: Simulator won't run on Ubuntu 20.04 64-bit - Undefined symbol

Posted: 18 Dec 2020, 18:33
by fferri
Better to use:

Code: Select all

LD_LIBRARY_PATH=$COPPELIASIM_ROOT_DIR:$LD_LIBRARY_PATH gdb coppeliaSim
it won't break the current environment for other programs.

cheers