ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

[Eclipse] /home/quocmd/fuerte_workspace/sanbox/beginner_tutorials/bin/talker: error while loading shared libraries: libxmlrpcpp.so: cannot open shared object file: No such file or directory

asked 2018-09-18 10:41:52 -0500

domikilo gravatar image

Hi all, I just run a simple talker.cpp in eclipse. When I run using binary file, the terminal shows

/home/quocmd/fuerte_workspace/sanbox/beginner_tutorials/bin/talker: error while loading shared libraries: libxmlrpcpp.so: cannot open shared object file: No such file or directory

I also tried in ubuntu terminal, it can run well. How could I resolve it. My eclipse is Photon version.

edit retag flag offensive close merge delete

Comments

1

You tagged this question with melodic, but your path shows fuerte_workspace. That doesn't match.

Can you please clarify which of the two ROS versions you are using, and why there is a fuerte_workspace there?

gvdhoorn gravatar image gvdhoorn  ( 2018-09-18 15:32:49 -0500 )edit

Hi it is just the name of my folder, but I use melodic version, guy! And I already figured out the solution, add LD_PATH_LIB=opt/ros/melodic/lib in Environment of Run as Configuration. :)

domikilo gravatar image domikilo  ( 2018-09-19 02:53:19 -0500 )edit

If you can post that as an answer, then you can accept your own answer and that will clearly show future visitors that your issue was resolved.

gvdhoorn gravatar image gvdhoorn  ( 2018-09-19 03:57:41 -0500 )edit

I did it :D

domikilo gravatar image domikilo  ( 2018-09-19 08:41:49 -0500 )edit

Hi, I'm facing a similar issue even after adding LD_PATH_LIB to my environment variables in my catkin_workspace. Pls help me with the same. I'm using ros melodic on my Ubuntu 18.04 machine.

error while loading shared libraries: libxmlrpcpp.so: cannot open shared object file: No such file or directory

echo $LD_PATH_LIB

/opt/ros/melodic/lib

manuaatitya gravatar image manuaatitya  ( 2020-04-27 11:29:24 -0500 )edit

2 Answers

Sort by » oldest newest most voted
0

answered 2018-09-19 08:41:30 -0500

domikilo gravatar image

I already figured out the solution, add LD_PATH_LIB=opt/ros/melodic/lib in Environment of Run as Configuration. :)

edit flag offensive delete link more

Comments

1

Hi, I'm facing a similar issue even after adding LD_PATH_LIB to my environment variables in my catkin_workspace. Pls help me with the same.

I'm using ros melodic on my Ubuntu 18.04 machine.

error while loading shared libraries: libxmlrpcpp.so: cannot open shared object file: No such file or directory

echo $LD_PATH_LIB

/opt/ros/melodic/lib

manuaatitya gravatar image manuaatitya  ( 2020-04-27 11:35:44 -0500 )edit
1

answered 2021-07-29 08:27:12 -0500

Ãustin gravatar image

For those still having issues, try:

sudo apt install libxmlrpcpp-dev

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2018-09-18 10:41:52 -0500

Seen: 2,243 times

Last updated: Sep 19 '18