The following error appears when using the docker with ROS2 Jazzy and launching any example launch.
[ERROR] [launch]: Caught exception in launch (see debug for traceback): Caught multiple exceptions when trying to load file of format [py]:
- ImportError: /usr/lib/python3/dist-packages/sdformat14.cpython-312-x86_64-linux-gnu.so: undefined symbol: _ZNK3sdf3v144Cone14AxisAlignedBoxEv
- InvalidFrontendLaunchFileError: The launch file may have a syntax error, or its format is unknown
I found the solution after installation to do:
export LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu:$LD_LIBRARY_PATH
In my opinin, this is not very sustainable. Is there other way to embed it in the DockerFile? As I tried with no success.
Maybe it can be removed from the vendored package of ROS2 jazzy, so no conflict appears and linker can see it?
The following error appears when using the docker with ROS2 Jazzy and launching any example launch.
[ERROR] [launch]: Caught exception in launch (see debug for traceback): Caught multiple exceptions when trying to load file of format [py]:
I found the solution after installation to do:
export LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu:$LD_LIBRARY_PATH
In my opinin, this is not very sustainable. Is there other way to embed it in the DockerFile? As I tried with no success.
Maybe it can be removed from the vendored package of ROS2 jazzy, so no conflict appears and linker can see it?