Skip to content

Humble PPA: ros-humble-glim 1.2.0 crashes with undefined symbol (built against pre-4.3a1 GTSAM?) #312

Description

@acid9991

Problem

Fresh install from the PPA on Ubuntu 22.04 / ROS 2 Humble (CPU packages, no CUDA) crashes instantly:

/opt/ros/humble/lib/glim_ros/glim_rosbag: symbol lookup error: /opt/ros/humble/lib/libglim.so: undefined symbol: _ZTVN5gtsam28PreintegratedImuMeasurementsE

Installed versions (from the PPA, 2026-07-06)

  • ros-humble-glim 1.2.0-0jammy
  • ros-humble-glim-ros 1.2.1-0jammy
  • libgtsam-points-dev 1.2.1
  • libgtsam-notbb-dev 4.3.0 (libgtsam.so.4.3a1)

Diagnosis

  • ldd /opt/ros/humble/lib/libglim.so resolves to the PPA's own /usr/local/lib/libgtsam.so.4 (no other GTSAM on the system; sudo ldconfig was run).
  • nm -D libgtsam.so.4 contains only the templated PreintegratedImuMeasurementsT<TangentPreintegration> symbols (137 of them), not the non-template vtable _ZTVN5gtsam28PreintegratedImuMeasurementsE that libglim.so imports.
  • So the humble glim 1.2.0 deb appears to be built against a pre-4.3a1 GTSAM, while the PPA now ships GTSAM 4.3a1. Note glim-ros is at 1.2.1 while glim is still 1.2.0 — looks like the glim humble deb missed the last rebuild.

Workaround

The Docker image koide3/glim_ros2:humble works perfectly (thanks for providing it!).

Request

Rebuild/publish ros-humble-glim (1.2.1?) against the current GTSAM 4.3a1 in the PPA.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions