ROS Indigo Source Build Fail - Ubuntu 14.04
Trying to install ROS Indigo from source on Ubuntu 14.04.
I followed the instructions listed here exactly with no issues until the build: http://wiki.ros.org/indigo/Installation/Source
When invoking the following command, ROS fails to compile:
./src/catkin/bin/catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Debug
I looked at a few other topics for help, (http://answers.ros.org/question/219090/cannnot-install-ros-in-ubuntu-1410/) however my dependencies are fine:
~/ros_catkin_ws$ rosdep install --from-paths src --ignore-src --rosdistro indigo -y
#All required rosdeps installed successfully
No rule to make target /usr/lib/libPocoFoundationd.so', needed by
/home/astaauser/roscatkinws/develisolated/classloader/lib/libclass_loader.so'. Stop.
I also tried to install libpoco from apt-get but no change in result since it was already installed fine.
~/ros_catkin_ws$ sudo apt-get install libpoco-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
libpoco-dev is already the newest version.
The following packages were automatically installed and are no longer required:
gnome-power-manager libjpeg-progs libjpeg-turbo-progs
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 542 not upgraded.
Asked by user12821821 on 2016-05-06 11:05:40 UTC
Answers
I think you can solve if you use ln.
locate libPocoFoundationd.so
this is a list when you have installed this program. When you have this, ln in the direction where you need it
sudo ln "direction in your list" "direction when you need"
Example: If when you installed, it have the name libPocoFoundationd.so.x.x
sudo ln /usr/lib/libPocoFoundationd.so.x.x /usr/lib/libPocoFoundationd.so
Asked by jncjaen on 2016-05-06 11:31:56 UTC
Comments
SThanks so much for your help, but I think the appropriate links are already setup, I did an ls -all where the library was located and got:
/usr/lib/libPocoFoundationd.so -> libPocoFoundationd.so.9
/usr/lib/libPocoFoundation.so -> libPocoFoundation.so.9
Still get the same error.
Asked by user12821821 on 2016-05-06 12:25:54 UTC
I ran into the same issue. I solved it by using sudo apt-get remove
on all installed libpoco packages, installing libpoco from source and adding -DCMAKE_INCLUDE_PATH with the path for the newly-installed libpoco libraries to the catkin_make_isolated
command.
Asked by dk1840 on 2017-04-13 12:18:49 UTC
Comments
I ran into the same problem both when compiling indigo on 14.04 and kinetic on 16.04 . When you specify the 'Debug' build type, it needs to link against the debug version of the library. Running ls -al /usr/lib/libPocoFoundation*
revealed that the symlink for libPocoFoundationd.so was broken: the library did not actually exist. Running sudo apt-get install libpocofoundation{version}-dbg
resolved the problem both times, where {version}
is whatever version is available to install.
Asked by cyberguy42 on 2017-10-27 17:12:24 UTC
Comments
Were you able to solve this issue?
Asked by Miguel Velez on 2016-11-18 13:46:47 UTC