Skip to content

ros-lyrical-behaviortree-cpp: split brain about the shared library location:-( #1173

Description

@mw46d

I tried to build Nav2 for ROS2 Lyrical on Ubuntu 26.04, the same issue happens on both x86-64 & arm64:-(

ubuntu@ubuntu-2604-lyrical:/opt/ros/lyrical/lib$ apt info ros-lyrical-behaviortree-cpp
Package: ros-lyrical-behaviortree-cpp
Version: 4.9.1-1resolute.20260707.005832
Priority: optional
Section: misc
Maintainer: "Davide Faconti" <davide.faconti@gmail.com>
Installed-Size: 3,124 kB
Depends: libc6 (>= 2.38), libgcc-s1 (>= 3.3.1), libsqlite3-0 (>= 3.10.0), libst>
Homepage: https://index.ros.org/p/behaviortree_cpp/#lyrical
Download-Size: 642 kB
APT-Manual-Installed: yes
APT-Sources: http://packages.ros.org/ros2-testing/ubuntu resolute/main amd64 Pa>
Description: This package provides the Behavior Trees core library.

The problem is, that the libbehaviortree_cpp.so shared library is installed in the architecture specific library directory, but colcon/cmake try to find it in the '/lib' directly:-(

For now, I created a symlink, but I hope, that can be sorted out;-) Both places seem to have shared libraries, I tried to ask, which should be preferred?!

ubuntu@ubuntu-2604-lyrical:/opt/ros/lyrical/lib$ ls -l libbehaviortree_cpp.so 
lrwxrwxrwx 1 root root 39 Jul 15 23:09 libbehaviortree_cpp.so -> x86_64-linux-gnu/libbehaviortree_cpp.so

Thanks,
-- Marco

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions