RoboStack / ros-humble

Recipes for ROS 2 Humble Hawksbill
98 stars 36 forks source link

[ros-humble-ros-gz-bridge] linker error #226

Closed mhl787156 closed 1 week ago

mhl787156 commented 1 month ago

Hi!

We are trying to run robostack with aerostack2 and have come across the fact that ros-humble-ros-gz-bridge fails with linking error.

Running ldd libros_gz_bridge_lib.so we get the following output.

NOTE: PROTOBUF and LibASL are missing libraries

We tried installing versions from conda-forge but they were not the correct version.

It looks like theres a mixed up version somewhere.

 ldd libros_gz_bridge_lib.so
        linux-vdso.so.1 (0x00007ffce1320000)
        libactuator_msgs__rosidl_typesupport_cpp.so => /home/mickey/micromamba/envs/ros_env/lib/././libactuator_msgs__rosidl_typesupport_cpp.so (0x00007f0725e22000)
        libnav_msgs__rosidl_typesupport_cpp.so => /home/mickey/micromamba/envs/ros_env/lib/././libnav_msgs__rosidl_typesupport_cpp.so (0x00007f0725e1a000)
        libros_gz_interfaces__rosidl_typesupport_cpp.so => /home/mickey/micromamba/envs/ros_env/lib/././libros_gz_interfaces__rosidl_typesupport_cpp.so (0x00007f0725e0f000)
        libtf2_msgs__rosidl_typesupport_cpp.so => /home/mickey/micromamba/envs/ros_env/lib/././libtf2_msgs__rosidl_typesupport_cpp.so (0x00007f0725e07000)
        libtrajectory_msgs__rosidl_typesupport_cpp.so => /home/mickey/micromamba/envs/ros_env/lib/././libtrajectory_msgs__rosidl_typesupport_cpp.so (0x00007f0725dff000)
        libvision_msgs__rosidl_typesupport_cpp.so => /home/mickey/micromamba/envs/ros_env/lib/././libvision_msgs__rosidl_typesupport_cpp.so (0x00007f0725df7000)
        libyaml-cpp.so.0.8 => /home/mickey/micromamba/envs/ros_env/lib/././libyaml-cpp.so.0.8 (0x00007f0725d7d000)
        libignition-transport11.so.11 => /home/mickey/micromamba/envs/ros_env/lib/././libignition-transport11.so.11 (0x00007f0725cda000)
        libignition-msgs8.so.8 => /home/mickey/micromamba/envs/ros_env/lib/././libignition-msgs8.so.8 (0x00007f0725a2f000)
        libprotobuf.so.25.1.0 => not found
        libabsl_log_internal_message.so.2308.0.0 => not found
        libabsl_hash.so.2308.0.0 => not found
        librclcpp.so => /home/mickey/micromamba/envs/ros_env/lib/././librclcpp.so (0x00007f072580a000)
        librosgraph_msgs__rosidl_typesupport_cpp.so => /home/mickey/micromamba/envs/ros_env/lib/././librosgraph_msgs__rosidl_typesupport_cpp.so (0x00007f0725805000)
        liblibstatistics_collector.so => /home/mickey/micromamba/envs/ros_env/lib/././liblibstatistics_collector.so (0x00007f07257fd000)
        librcl.so => /home/mickey/micromamba/envs/ros_env/lib/././librcl.so (0x00007f07257c0000)
        libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f07257bb000)
        libstatistics_msgs__rosidl_typesupport_cpp.so => /home/mickey/micromamba/envs/ros_env/lib/././libstatistics_msgs__rosidl_typesupport_cpp.so (0x00007f07257b6000)
        libtracetools.so => /home/mickey/micromamba/envs/ros_env/lib/././libtracetools.so (0x00007f07257b1000)
        libclass_loader.so => /home/mickey/micromamba/envs/ros_env/lib/././libclass_loader.so (0x00007f072579c000)
        libconsole_bridge.so.1.0 => /home/mickey/micromamba/envs/ros_env/lib/././libconsole_bridge.so.1.0 (0x00007f0725796000)
        librcl_interfaces__rosidl_typesupport_cpp.so => /home/mickey/micromamba/envs/ros_env/lib/././librcl_interfaces__rosidl_typesupport_cpp.so (0x00007f0725789000)
        libsensor_msgs__rosidl_typesupport_cpp.so => /home/mickey/micromamba/envs/ros_env/lib/././libsensor_msgs__rosidl_typesupport_cpp.so (0x00007f072577e000)
        librmw.so => /home/mickey/micromamba/envs/ros_env/lib/././librmw.so (0x00007f0725773000)
        libgeometry_msgs__rosidl_typesupport_cpp.so => /home/mickey/micromamba/envs/ros_env/lib/././libgeometry_msgs__rosidl_typesupport_cpp.so (0x00007f0725768000)
        libstd_msgs__rosidl_typesupport_cpp.so => /home/mickey/micromamba/envs/ros_env/lib/././libstd_msgs__rosidl_typesupport_cpp.so (0x00007f072575d000)
        libbuiltin_interfaces__rosidl_typesupport_cpp.so => /home/mickey/micromamba/envs/ros_env/lib/././libbuiltin_interfaces__rosidl_typesupport_cpp.so (0x00007f0725756000)
        librcutils.so => /home/mickey/micromamba/envs/ros_env/lib/././librcutils.so (0x00007f072573f000)
        libstdc++.so.6 => /home/mickey/micromamba/envs/ros_env/lib/././libstdc++.so.6 (0x00007f072555c000)
        libgcc_s.so.1 => /home/mickey/micromamba/envs/ros_env/lib/././libgcc_s.so.1 (0x00007f072553d000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f0725314000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f07269e4000)
        librosidl_typesupport_cpp.so => /home/mickey/micromamba/envs/ros_env/lib/./././librosidl_typesupport_cpp.so (0x00007f072530c000)
        libaction_msgs__rosidl_typesupport_cpp.so => /home/mickey/micromamba/envs/ros_env/lib/./././libaction_msgs__rosidl_typesupport_cpp.so (0x00007f0725306000)
        libzmq.so.5 => /home/mickey/micromamba/envs/ros_env/lib/./././libzmq.so.5 (0x00007f0725265000)
        libuuid.so.1 => /home/mickey/micromamba/envs/ros_env/lib/./././libuuid.so.1 (0x00007f072525c000)
        libprotobuf.so.25.3.0 => /home/mickey/micromamba/envs/ros_env/lib/./././libprotobuf.so.25.3.0 (0x00007f0724f8d000)
        libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f0724ea4000)
        libignition-math6.so.6 => /home/mickey/micromamba/envs/ros_env/lib/./././libignition-math6.so.6 (0x00007f0724e4d000)
        libtinyxml2.so.10 => /home/mickey/micromamba/envs/ros_env/lib/./././libtinyxml2.so.10 (0x00007f0724e32000)
        libabsl_log_internal_message.so.2401.0.0 => /home/mickey/micromamba/envs/ros_env/lib/./././libabsl_log_internal_message.so.2401.0.0 (0x00007f0724e25000)
        libabsl_log_internal_nullguard.so.2401.0.0 => /home/mickey/micromamba/envs/ros_env/lib/./././libabsl_log_internal_nullguard.so.2401.0.0 (0x00007f0724e20000)
        libabsl_hash.so.2401.0.0 => /home/mickey/micromamba/envs/ros_env/lib/./././libabsl_hash.so.2401.0.0 (0x00007f0724e19000)
        librcl_yaml_param_parser.so => /home/mickey/micromamba/envs/ros_env/lib/./././librcl_yaml_param_parser.so (0x00007f0724e0e000)
        librmw_implementation.so => /home/mickey/micromamba/envs/ros_env/lib/./././librmw_implementation.so (0x00007f0724e01000)
        libament_index_cpp.so => /home/mickey/micromamba/envs/ros_env/lib/./././libament_index_cpp.so (0x00007f0724df6000)
        librcl_logging_interface.so => /home/mickey/micromamba/envs/ros_env/lib/./././librcl_logging_interface.so (0x00007f0724df1000)
        librcpputils.so => /home/mickey/micromamba/envs/ros_env/lib/./././librcpputils.so (0x00007f0724de0000)
        librcl_logging_spdlog.so => /home/mickey/micromamba/envs/ros_env/lib/./././librcl_logging_spdlog.so (0x00007f0724dd7000)
        librcl_interfaces__rosidl_typesupport_c.so => /home/mickey/micromamba/envs/ros_env/lib/./././librcl_interfaces__rosidl_typesupport_c.so (0x00007f0724dce000)
        librcl_interfaces__rosidl_generator_c.so => /home/mickey/micromamba/envs/ros_env/lib/./././librcl_interfaces__rosidl_generator_c.so (0x00007f0724db4000)
        librosidl_runtime_c.so => /home/mickey/micromamba/envs/ros_env/lib/./././librosidl_runtime_c.so (0x00007f0724da8000)
        libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f0724da1000)
        librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f0724d9c000)
        libsodium.so.26 => /home/mickey/micromamba/envs/ros_env/lib/././././libsodium.so.26 (0x00007f0724d3a000)
        libgssapi_krb5.so.2 => /home/mickey/micromamba/envs/ros_env/lib/././././libgssapi_krb5.so.2 (0x00007f0724ce7000)
        libz.so.1 => /home/mickey/micromamba/envs/ros_env/lib/././././libz.so.1 (0x00007f0724ccc000)
        libabsl_die_if_null.so.2401.0.0 => /home/mickey/micromamba/envs/ros_env/lib/././././libabsl_die_if_null.so.2401.0.0 (0x00007f0724cc5000)
        libabsl_statusor.so.2401.0.0 => /home/mickey/micromamba/envs/ros_env/lib/././././libabsl_statusor.so.2401.0.0 (0x00007f0724cbf000)
        libabsl_log_internal_check_op.so.2401.0.0 => /home/mickey/micromamba/envs/ros_env/lib/././././libabsl_log_internal_check_op.so.2401.0.0 (0x00007f0724cb7000)
        libabsl_log_internal_conditions.so.2401.0.0 => /home/mickey/micromamba/envs/ros_env/lib/././././libabsl_log_internal_conditions.so.2401.0.0 (0x00007f0724cb2000)
        libabsl_raw_hash_set.so.2401.0.0 => /home/mickey/micromamba/envs/ros_env/lib/././././libabsl_raw_hash_set.so.2401.0.0 (0x00007f0724cac000)
        libabsl_status.so.2401.0.0 => /home/mickey/micromamba/envs/ros_env/lib/././././libabsl_status.so.2401.0.0 (0x00007f0724c9e000)
        libabsl_cord.so.2401.0.0 => /home/mickey/micromamba/envs/ros_env/lib/././././libabsl_cord.so.2401.0.0 (0x00007f0724c7b000)
        libabsl_cordz_info.so.2401.0.0 => /home/mickey/micromamba/envs/ros_env/lib/././././libabsl_cordz_info.so.2401.0.0 (0x00007f0724c74000)
        libabsl_synchronization.so.2401.0.0 => /home/mickey/micromamba/envs/ros_env/lib/././././libabsl_synchronization.so.2401.0.0 (0x00007f0724c62000)
        libabsl_time.so.2401.0.0 => /home/mickey/micromamba/envs/ros_env/lib/././././libabsl_time.so.2401.0.0 (0x00007f0724c4b000)
        libabsl_time_zone.so.2401.0.0 => /home/mickey/micromamba/envs/ros_env/lib/././././libabsl_time_zone.so.2401.0.0 (0x00007f0724c2a000)
        libabsl_str_format_internal.so.2401.0.0 => /home/mickey/micromamba/envs/ros_env/lib/././././libabsl_str_format_internal.so.2401.0.0 (0x00007f0724c0c000)
        libabsl_strings.so.2401.0.0 => /home/mickey/micromamba/envs/ros_env/lib/././././libabsl_strings.so.2401.0.0 (0x00007f0724be6000)
        libabsl_spinlock_wait.so.2401.0.0 => /home/mickey/micromamba/envs/ros_env/lib/././././libabsl_spinlock_wait.so.2401.0.0 (0x00007f0724be1000)
        libabsl_throw_delegate.so.2401.0.0 => /home/mickey/micromamba/envs/ros_env/lib/././././libabsl_throw_delegate.so.2401.0.0 (0x00007f0724bda000)
        libabsl_examine_stack.so.2401.0.0 => /home/mickey/micromamba/envs/ros_env/lib/././././libabsl_examine_stack.so.2401.0.0 (0x00007f0724bd3000)
        libabsl_log_internal_format.so.2401.0.0 => /home/mickey/micromamba/envs/ros_env/lib/././././libabsl_log_internal_format.so.2401.0.0 (0x00007f0724bcd000)
        libabsl_log_internal_proto.so.2401.0.0 => /home/mickey/micromamba/envs/ros_env/lib/././././libabsl_log_internal_proto.so.2401.0.0 (0x00007f0724bc8000)
        libabsl_strerror.so.2401.0.0 => /home/mickey/micromamba/envs/ros_env/lib/././././libabsl_strerror.so.2401.0.0 (0x00007f0724bc3000)
        libabsl_log_internal_log_sink_set.so.2401.0.0 => /home/mickey/micromamba/envs/ros_env/lib/././././libabsl_log_internal_log_sink_set.so.2401.0.0 (0x00007f0724bbd000)
        libabsl_log_internal_globals.so.2401.0.0 => /home/mickey/micromamba/envs/ros_env/lib/././././libabsl_log_internal_globals.so.2401.0.0 (0x00007f0724bb6000)
        libabsl_log_globals.so.2401.0.0 => /home/mickey/micromamba/envs/ros_env/lib/././././libabsl_log_globals.so.2401.0.0 (0x00007f0724bb0000)
        libabsl_base.so.2401.0.0 => /home/mickey/micromamba/envs/ros_env/lib/././././libabsl_base.so.2401.0.0 (0x00007f0724baa000)
        libabsl_raw_logging_internal.so.2401.0.0 => /home/mickey/micromamba/envs/ros_env/lib/././././libabsl_raw_logging_internal.so.2401.0.0 (0x00007f0724ba5000)
        libabsl_city.so.2401.0.0 => /home/mickey/micromamba/envs/ros_env/lib/././././libabsl_city.so.2401.0.0 (0x00007f0724ba0000)
        libabsl_low_level_hash.so.2401.0.0 => /home/mickey/micromamba/envs/ros_env/lib/././././libabsl_low_level_hash.so.2401.0.0 (0x00007f0724b99000)
        libyaml-0.so.2 => /home/mickey/micromamba/envs/ros_env/lib/././././libyaml-0.so.2 (0x00007f0724b79000)
        libspdlog.so.1.12 => /home/mickey/micromamba/envs/ros_env/lib/././././libspdlog.so.1.12 (0x00007f0724b14000)
        librosidl_typesupport_c.so => /home/mickey/micromamba/envs/ros_env/lib/././././librosidl_typesupport_c.so (0x00007f0724b0d000)
        libbuiltin_interfaces__rosidl_generator_c.so => /home/mickey/micromamba/envs/ros_env/lib/././././libbuiltin_interfaces__rosidl_generator_c.so (0x00007f0724b07000)
        libkrb5.so.3 => /home/mickey/micromamba/envs/ros_env/lib/./././././libkrb5.so.3 (0x00007f0724a2f000)
        libk5crypto.so.3 => /home/mickey/micromamba/envs/ros_env/lib/./././././libk5crypto.so.3 (0x00007f0724a17000)
        libcom_err.so.3 => /home/mickey/micromamba/envs/ros_env/lib/./././././libcom_err.so.3 (0x00007f0724a11000)
        libkrb5support.so.0 => /home/mickey/micromamba/envs/ros_env/lib/./././././libkrb5support.so.0 (0x00007f0724a03000)
        libkeyutils.so.1 => /home/mickey/micromamba/envs/ros_env/lib/./././././libkeyutils.so.1 (0x00007f07249fc000)
        libcrypto.so.3 => /home/mickey/micromamba/envs/ros_env/lib/./././././libcrypto.so.3 (0x00007f07244ba000)
        libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007f07244a6000)
        libabsl_cord_internal.so.2401.0.0 => /home/mickey/micromamba/envs/ros_env/lib/./././././libabsl_cord_internal.so.2401.0.0 (0x00007f0724490000)
        libabsl_crc_cord_state.so.2401.0.0 => /home/mickey/micromamba/envs/ros_env/lib/./././././libabsl_crc_cord_state.so.2401.0.0 (0x00007f0724488000)
        libabsl_cordz_functions.so.2401.0.0 => /home/mickey/micromamba/envs/ros_env/lib/./././././libabsl_cordz_functions.so.2401.0.0 (0x00007f0724483000)
        libabsl_cordz_handle.so.2401.0.0 => /home/mickey/micromamba/envs/ros_env/lib/./././././libabsl_cordz_handle.so.2401.0.0 (0x00007f072447b000)
        libabsl_stacktrace.so.2401.0.0 => /home/mickey/micromamba/envs/ros_env/lib/./././././libabsl_stacktrace.so.2401.0.0 (0x00007f0724476000)
        libabsl_kernel_timeout_internal.so.2401.0.0 => /home/mickey/micromamba/envs/ros_env/lib/./././././libabsl_kernel_timeout_internal.so.2401.0.0 (0x00007f0724470000)
        libabsl_malloc_internal.so.2401.0.0 => /home/mickey/micromamba/envs/ros_env/lib/./././././libabsl_malloc_internal.so.2401.0.0 (0x00007f0724469000)
        libabsl_int128.so.2401.0.0 => /home/mickey/micromamba/envs/ros_env/lib/./././././libabsl_int128.so.2401.0.0 (0x00007f0724462000)
        libabsl_strings_internal.so.2401.0.0 => /home/mickey/micromamba/envs/ros_env/lib/./././././libabsl_strings_internal.so.2401.0.0 (0x00007f072445a000)
        libabsl_symbolize.so.2401.0.0 => /home/mickey/micromamba/envs/ros_env/lib/./././././libabsl_symbolize.so.2401.0.0 (0x00007f0724452000)
        libabsl_log_sink.so.2401.0.0 => /home/mickey/micromamba/envs/ros_env/lib/./././././libabsl_log_sink.so.2401.0.0 (0x00007f072444d000)
        libfmt.so.10 => /home/mickey/micromamba/envs/ros_env/lib/./././././libfmt.so.10 (0x00007f0724427000)
        libabsl_crc32c.so.2401.0.0 => /home/mickey/micromamba/envs/ros_env/lib/././././././libabsl_crc32c.so.2401.0.0 (0x00007f072441f000)
        libabsl_exponential_biased.so.2401.0.0 => /home/mickey/micromamba/envs/ros_env/lib/././././././libabsl_exponential_biased.so.2401.0.0 (0x00007f072441a000)
        libabsl_debugging_internal.so.2401.0.0 => /home/mickey/micromamba/envs/ros_env/lib/././././././libabsl_debugging_internal.so.2401.0.0 (0x00007f0724414000)
        libabsl_demangle_internal.so.2401.0.0 => /home/mickey/micromamba/envs/ros_env/lib/././././././libabsl_demangle_internal.so.2401.0.0 (0x00007f0724407000)
        libabsl_crc_internal.so.2401.0.0 => /home/mickey/micromamba/envs/ros_env/lib/./././././././libabsl_crc_internal.so.2401.0.0 (0x00007f07243fe000)
traversaro commented 1 month ago

See https://github.com/RoboStack/ros-humble/issues/175 .