ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Generally, it is a really bad idea to just rename/move ROS packages without recompiling them. To me it seems that you installed ROS from debian packages and then just moved the whole installation which basically will interfere with your package manager. People normally don't do that :)
The reason why you are running into problems is RPATH. It's a property that can be set for linux libraries and binaries and it specifies the absolute path to libraries used by that binary. If you now move the whole tree, these paths will be wrong and binaries will be unable to find the required libraries.
Instead of moving the whole tree you can do a source-based installation in your home, but I wouldn't recommend that. Instead you normally make an overlay in your home. You can find some interesting information about that here and here.