@wjwwood Not sure what is RPATH. Is it env. variable? I can't see this variable set after I sourced ~/ros2-osx/setup.bash. I tried to set DYLD_LIBRARY_PATH manually but, as you said, it isn't helping due to SIP. @codebot Tried it with ROS2 beta2. Message is changed a bit but problem remains the same.
Running tests... UpdateCTestConfiguration from :/Users/mc/skynet-edge/core_ws/build/skynet/DartConfiguration.tcl Parse Config file:/Users/mc/skynet-edge/core_ws/build/skynet/DartConfiguration.tcl Site: mcs-MacBook-Pro.sjc.cyngn.internal Build name: Darwin-c++ Add coverage exclude regular expressions. SetCTestConfiguration:CMakeCommand:/Applications/CMake.app/Contents/bin/cmake Create new tag: 20170712-1754 - Experimental UpdateCTestConfiguration from :/Users/mc/skynet-edge/core_ws/build/skynet/DartConfiguration.tcl Parse Config file:/Users/mc/skynet-edge/core_ws/build/skynet/DartConfiguration.tcl Test project /Users/mc/skynet-edge/core_ws/build/skynet Constructing a list of tests Done constructing a list of tests Updating test list for fixtures Added 0 tests to meet fixture requirements Checking test dependency graph... Checking test dependency graph end test 1 Start 1: skynet_test 1: Test command: /usr/local/bin/python3 "-u" "/Users/mc/ros2-osx-b2/share/ament_cmake_test/cmake/run_test.py" "/Users/mc/skynet-edge/core_ws/build/skynet/test_results/skynet/skynet_test.gtest.xml" "--output-file" "/Users/mc/skynet-edge/core_ws/build/skynet/ament_cmake_gmock/skynet_test.txt" "--command" "/Users/mc/skynet-edge/core_ws/build/skynet/test/skynet_test" "--gtest_output=xml:/Users/mc/skynet-edge/core_ws/build/skynet/test_results/skynet/skynet_test.gtest.xml" 1: Test timeout computed to be: 60 1: -- run_test.py: invoking following command in '/Users/mc/skynet-edge/core_ws/src/skynet': 1: - /Users/mc/skynet-edge/core_ws/build/skynet/test/skynet_test --gtest_output=xml:/Users/mc/skynet-edge/core_ws/build/skynet/test_results/skynet/skynet_test.gtest.xml 1: dyld: Library not loaded: libfastrtps.1.dylib 1: Referenced from: /Users/mc/skynet-edge/core_ws/build/skynet/test/skynet_test 1: Reason: image not found 1: -- run_test.py: return code -6 1: -- run_test.py: generate result file '/Users/mc/skynet-edge/core_ws/build/skynet/test_results/skynet/skynet_test.gtest.xml' with failed test 1: -- run_test.py: verify result file '/Users/mc/skynet-edge/core_ws/build/skynet/test_results/skynet/skynet_test.gtest.xml' 1/1 Test #1: skynet_test ......................***Failed 0.17 sec 0% tests passed, 1 tests failed out of 1 Label Time Summary: gmock = 0.17 sec (1 test) Total Test time (real) = 0.18 sec The following tests FAILED: 1 - skynet_test (Failed) Errors while running CTest make: *** [test] Error 8 <== Command '. /Users/mc/skynet-edge/core_ws/build/skynet/cmake__test.sh && /usr/bin/make test 'ARGS=-V -D ExperimentalTest --no-compress-output'' failed in '/Users/mc/skynet-edge/core_ws/build/skynet' with exit code '2' 'test_pkg' for package '/Users/mc/skynet-edge/core_ws/src/skynet' failed: <== Command '. /Users/mc/skynet-edge/core_ws/build/skynet/cmake__test.sh && /usr/bin/make test 'ARGS=-V -D ExperimentalTest --no-compress-output'' failed in '/Users/mc/skynet-edge/core_ws/build/skynet' with exit code '2' <== Command '. /Users/mc/skynet-edge/core_ws/build/skynet/cmake__test.sh && /usr/bin/make test 'ARGS=-V -D ExperimentalTest --no-compress-output'' failed in '/Users/mc/skynet-edge/core_ws/build/skynet' with exit code '2'Is there anything else I can try to fix it? --- [Visit Topic](https://discourse.ros.org/t/library-not-loaded-libfastcdr-dylib/2195/4) or reply to this email to respond. If you do not want to receive messages from ros-users please use the unsubscribe link below. If you use the one above, you will stop all of ros-users from receiving updates. ______________________________________________________________________________ ros-users mailing list ros-users@lists.ros.org http://lists.ros.org/mailman/listinfo/ros-users Unsubscribe: