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.
Simulator won't run on Ubuntu 20.04 64-bit - Undefined symbol
Re: Simulator won't run on Ubuntu 20.04 64-bit - Undefined symbol
Hello,
how exactly are you trying to start CoppeliaSim?
What is the complete error output?
Cheers
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
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
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.
./coppeliaSim
instead of the appropriate command:
./coppeliaSim.sh
Now, it is solved.
-
- Posts: 17
- Joined: 31 Mar 2020, 13:02
Re: Simulator won't run on Ubuntu 20.04 64-bit - Undefined symbol
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
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... :) )
Code: Select all
source coppeliaSim.sh
(#worksOnMyMachine though... :) )
Re: Simulator won't run on Ubuntu 20.04 64-bit - Undefined symbol
Better to use:
it won't break the current environment for other programs.
cheers
Code: Select all
LD_LIBRARY_PATH=$COPPELIASIM_ROOT_DIR:$LD_LIBRARY_PATH gdb coppeliaSim
cheers