DrawingProcess
드프 DrawingProcess
DrawingProcess
전체 방문자
오늘
어제
«   2025/05   »
일 월 화 수 목 금 토
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
  • 분류 전체보기 (964)
    • Profile & Branding (22)
      • Career (15)
    • IT Trends (254)
      • Conference, Faire (Experien.. (31)
      • News (187)
      • Youtube (19)
      • TED (8)
      • Web Page (2)
      • IT: Etc... (6)
    • Contents (97)
      • Book (66)
      • Lecture (31)
    • Project Process (94)
      • Ideation (0)
      • Study Report (34)
      • Challenge & Award (22)
      • 1Day1Process (5)
      • Making (5)
      • KRC-FTC (Team TC(5031, 5048.. (10)
      • GCP (GlobalCitizenProject) (15)
    • Study: ComputerScience(CS) (72)
      • CS: Basic (9)
      • CS: Database(SQL) (5)
      • CS: Network (14)
      • CS: OperatingSystem (3)
      • CS: Linux (39)
      • CS: Etc... (2)
    • Study: Software(SW) (95)
      • SW: Language (29)
      • SW: Algorithms (1)
      • SW: DataStructure & DesignP.. (1)
      • SW: Opensource (15)
      • SW: Error Bug Fix (43)
      • SW: Etc... (6)
    • Study: Artificial Intellige.. (149)
      • AI: Research (1)
      • AI: 2D Vision(Det, Seg, Tra.. (35)
      • AI: 3D Vision (70)
      • AI: MultiModal (3)
      • AI: SLAM (0)
      • AI: Light Weight(LW) (3)
      • AI: Data Pipeline (7)
      • AI: Machine Learning(ML) (1)
    • Study: Robotics(Robot) (33)
      • Robot: ROS(Robot Operating .. (9)
      • Robot: Positioning (8)
      • Robot: Planning & Control (7)
    • Study: DeveloperTools(DevTo.. (83)
      • DevTool: Git (12)
      • DevTool: CMake (13)
      • DevTool: NoSQL(Elastic, Mon.. (25)
      • DevTool: Container (17)
      • DevTool: IDE (11)
      • DevTool: CloudComputing (4)
    • 인생을 살면서 (64)
      • 나의 취미들 (7)
      • 나의 생각들 (42)
      • 여행을 떠나자~ (10)
      • 분기별 회고 (5)

개발자 명언

“ 매주 목요일마다 당신이 항상 하던대로 신발끈을 묶으면 신발이 폭발한다고 생각해보라.
컴퓨터를 사용할 때는 이런 일이 항상 일어나는데도 아무도 불평할 생각을 안 한다. ”

- Jef Raskin

맥의 아버지 - 애플컴퓨터의 매킨토시 프로젝트를 주도

인기 글

최근 글

최근 댓글

티스토리

hELLO · Designed By 정상우.
DrawingProcess

드프 DrawingProcess

[Error fix] Solved 'symbol lookup error: /opt/ros/foxy/lib/robot_state_publisher/robot_state_publisher: undefined symbol: _ZNK12class_loader11ClassLoader14getLibraryPathB5cxx11Ev'(Ubuntu 20.04, ros noetic, ros2 foxy)
Study: Software(SW)/SW: Error Bug Fix

[Error fix] Solved 'symbol lookup error: /opt/ros/foxy/lib/robot_state_publisher/robot_state_publisher: undefined symbol: _ZNK12class_loader11ClassLoader14getLibraryPathB5cxx11Ev'(Ubuntu 20.04, ros noetic, ros2 foxy)

2023. 8. 31. 16:12
반응형

# Problem

I use ros2 foxy with ubuntu 20.04 and tried to below command:

$ ros2 launch turtlebot3_gazebo turtlebot3_house.launch.py 
[INFO] [launch]: All log files can be found below /home/sjchoi/.ros/log/2023-08-30-15-07-57-052486-sjchoi-Prestige-15-A10SC-18974
[INFO] [launch]: Default logging verbosity is set to INFO
urdf_file_name : turtlebot3_waffle.urdf
[INFO] [gzserver-1]: process started with pid [18976]
[INFO] [gzclient   -2]: process started with pid [18978]
[INFO] [robot_state_publisher-3]: process started with pid [18982]
[robot_state_publisher-3] /opt/ros/foxy/lib/robot_state_publisher/robot_state_publisher: symbol lookup error: /opt/ros/foxy/lib/robot_state_publisher/robot_state_publisher: undefined symbol: _ZNK12class_loader11ClassLoader14getLibraryPathB5cxx11Ev
[ERROR] [robot_state_publisher-3]: process has died [pid 18982, exit code 127, cmd '/opt/ros/foxy/lib/robot_state_publisher/robot_state_publisher /opt/ros/foxy/share/turtlebot3_description/urdf/turtlebot3_waffle.urdf --ros-args -r __node:=robot_state_publisher --params-file /tmp/launch_params_ip8swmzq'].
[gzserver-1] gzserver: symbol lookup error: /opt/ros/foxy/lib/libgazebo_ros_init.so: undefined symbol: _ZN10gazebo_ros9ThrottlerC1Ed
[ERROR] [gzserver-1]: process has died [pid 18976, exit code 127, cmd 'gzserver /opt/ros/foxy/share/turtlebot3_gazebo/worlds/turtlebot3_houses/waffle.model                                                                      -s libgazebo_ros_init.so   -s libgazebo_ros_factory.so   -s libgazebo_ros_force_system.so       '].
[ERROR] [gzclient   -2]: process has died [pid 18978, exit code 255, cmd 'gzclient   '].

# Solution

# select ros1 or ros2 in terminal
echo "ros noetic(1) or ros2 foxy(2)?"
read edition
if [ "$edition" -eq "1" ];then
  source /opt/ros/noetic/setup.bash
else
  source /opt/ros/foxy/setup.bash
fi

# Reference

[Github] Ros2 foxy symbol lookup error issue #153: https://github.com/ros/robot_state_publisher/issues/153

반응형
저작자표시 비영리 변경금지 (새창열림)

'Study: Software(SW) > SW: Error Bug Fix' 카테고리의 다른 글

[Error Fix] Solved 'fatal error: fast_lio/Pose6D.h: No such file or directory #include <fast_lio/Pose6D.h> ^~~~~~~~~~~~~~~~~~~ compilation terminated.'(feat. FAST-LIO, FAST-LIO-LC)  (0) 2023.10.13
[Error Fix] Solved'Failed to connect. Is Docker running?'(feat. VSCode Docker docker.sock)  (0) 2023.10.09
[Error fix] Solved 'The repository 'https://packagecloud.io/shiftkey/desktop/any any InRelease' is not signed.': The following signatures couldn't be verified because the public key is not available  (0) 2023.08.30
[Error fix] Solved 'error: RPC failed; curl 55 Failed sending data to the peer' & 'error: RPC failed; HTTP 500 curl 22 The requested URL returned error: 500'  (0) 2023.08.01
[Error fix] Solved 'systemctl status docker Active: failed (Result: start-limit-hit)'  (0) 2023.07.26
    'Study: Software(SW)/SW: Error Bug Fix' 카테고리의 다른 글
    • [Error Fix] Solved 'fatal error: fast_lio/Pose6D.h: No such file or directory #include <fast_lio/Pose6D.h> ^~~~~~~~~~~~~~~~~~~ compilation terminated.'(feat. FAST-LIO, FAST-LIO-LC)
    • [Error Fix] Solved'Failed to connect. Is Docker running?'(feat. VSCode Docker docker.sock)
    • [Error fix] Solved 'The repository 'https://packagecloud.io/shiftkey/desktop/any any InRelease' is not signed.': The following signatures couldn't be verified because the public key is not available
    • [Error fix] Solved 'error: RPC failed; curl 55 Failed sending data to the peer' & 'error: RPC failed; HTTP 500 curl 22 The requested URL returned error: 500'
    DrawingProcess
    DrawingProcess
    과정을 그리자!

    티스토리툴바