Skip to content

How to solve 'UnsatisfiedLinkError: librcl.so' ? #5

Description

@b2220333

I can not find 2018.3.6f1 on Unity Hub 1.5.0, so I use 2018.3.14f1.

I open Turtlebot3NavigationDemo scene and click the play button, and it shows errors:

UnsatisfiedLinkError: librcl.so
ROS2.Utils.DllLoadUtilsUnix.LoadLibraryNoSuffix (System.String fileName) (at <7c5753d3542344c3a4e47d09c768d276>:0)
rclcs.NativeMethods..cctor () (at <6c64258d7ee947c7b2100cf5d200ba13>:0)
Rethrow as TypeInitializationException: The type initializer for 'rclcs.NativeMethods' threw an exception.
LaserScanPublisher..ctor () (at Assets/Scripts/Ros/Sensors/LaserScanPublisher.cs:47)

This error shows on many items on unity3d.

I am able to find librcl.so by

sam@sam-ub1804:~$ locate librcl.so
/opt/ros/crystal/lib/librcl.so
sam@sam-ub1804:~$ 

How to solve this problem?
Thank you~

Sam

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