2019-09-17 14:06:47 -0500 | received badge | ● Famous Question
(source)
|
2019-03-25 15:14:12 -0500 | commented answer | build fails at camera_calibration_parsers; how do I recompile with -fPIC YES, thanks so much, that installs /usr/lib64/libboost_python.so and fixes it.
Later I needed bullet-devel too.
|
2019-03-25 14:42:04 -0500 | commented answer | build fails at camera_calibration_parsers; how do I recompile with -fPIC YES, thanks so much, that install /usr/lib64/libboost_python.so and fixes it.
Later I needed bullet-devel too.
|
2019-03-25 14:40:02 -0500 | commented answer | build fails at camera_calibration_parsers; how do I recompile with -fPIC YES, thanks so much, that fixes it.
Later I needed bullet-devel too.
|
2019-03-25 14:39:58 -0500 | marked best answer | build fails at camera_calibration_parsers; how do I recompile with -fPIC Linux 4.19.12-301.fc29.x86_64 Fedora 29 When I try to run ./src/catkin/bin/catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release
I get the following error, at package 182 off 237 ==> Processing catkin package: 'camera_calibration_parsers'
==> Building with env: '/root/ros_catkin_ws/install_isolated/env.sh'
Makefile exists, skipping explicit cmake invocation...
==> make cmake_check_build_system in '/root/ros_catkin_ws/build_isolated/camera_calibration_parsers'
==> make -j8 -l8 in '/root/ros_catkin_ws/build_isolated/camera_calibration_parsers'
[ 0%] Built target geometry_msgs_generate_messages_cpp
[ 0%] Built target rosgraph_msgs_generate_messages_lisp
[ 0%] Built target sensor_msgs_generate_messages_cpp
[ 0%] Built target geometry_msgs_generate_messages_py
[ 0%] Built target sensor_msgs_generate_messages_eus
[ 0%] Built target geometry_msgs_generate_messages_lisp
[ 0%] Built target std_msgs_generate_messages_lisp
[ 0%] Built target sensor_msgs_generate_messages_py
[ 0%] Built target roscpp_generate_messages_lisp
[ 0%] Built target roscpp_generate_messages_py
[ 0%] Built target geometry_msgs_generate_messages_nodejs
[ 0%] Built target sensor_msgs_generate_messages_nodejs
[ 0%] Built target std_msgs_generate_messages_cpp
[ 0%] Built target roscpp_generate_messages_cpp
[ 0%] Built target sensor_msgs_generate_messages_lisp
[ 0%] Built target std_msgs_generate_messages_eus
[ 0%] Built target rosgraph_msgs_generate_messages_nodejs
[ 0%] Built target rosgraph_msgs_generate_messages_py
[ 0%] Built target geometry_msgs_generate_messages_eus
[ 0%] Built target std_msgs_generate_messages_py
[ 0%] Built target std_msgs_generate_messages_nodejs
[ 0%] Built target roscpp_generate_messages_nodejs
[ 0%] Built target roscpp_generate_messages_eus
[ 0%] Built target rosgraph_msgs_generate_messages_cpp
[ 0%] Built target rosgraph_msgs_generate_messages_eus
[ 50%] Built target camera_calibration_parsers
[ 75%] Linking CXX shared library /root/ros_catkin_ws/devel_isolated/camera_calibration_parsers/lib/python2.7/site-packages/camera_calibration_parsers/camera_calibration_parsers_wrapper.so
[ 87%] Built target convert
/usr/bin/ld: /usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/libboost_python.a(from_python.o): relocation R_X86_64_PC32 against symbol 'PyExc_TypeError' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: bad value
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/camera_calibration_parsers_wrapper.dir/build.make:142: /root/ros_catkin_ws/devel_isolated/camera_calibration_parsers/lib/python2.7/site-packages/camera_calibration_parsers/camera_calibration_parsers_wrapper.so] Error 1
make[1]: *** [CMakeFiles/Makefile2:521: CMakeFiles/camera_calibration_parsers_wrapper.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
<== Failed to process package 'camera_calibration_parsers':
Command '['/root/ros_catkin_ws/install_isolated/env.sh', 'make', '-j8', '-l8']' returned non-zero exit status 2
Reproduce this error by running:
==> cd /root/ros_catkin_ws/build_isolated/camera_calibration_parsers && /root/ros_catkin_ws/install_isolated/env.sh make -j8 -l8
Command failed, exiting.
I am a newbie, and I have not a clue about how to fix it.
Thanks for your help mario |
2019-03-25 14:39:58 -0500 | received badge | ● Scholar
(source)
|
2019-03-25 14:38:55 -0500 | received badge | ● Notable Question
(source)
|
2019-03-25 06:22:00 -0500 | received badge | ● Supporter
(source)
|
2019-03-25 06:21:36 -0500 | commented answer | build fails at camera_calibration_parsers; how do I recompile with -fPIC Thanks for your reply.
It seems I have
/usr/lib64/libboost_python.a
/usr/lib64/libboost_python.so.1.66.0
/usr/lib64/li |
2019-03-24 16:09:33 -0500 | received badge | ● Popular Question
(source)
|
2019-03-24 12:13:19 -0500 | edited question | build fails at camera_calibration_parsers; how do I recompile with -fPIC build fails at camera_calibration_parsers
Linux 4.19.12-301.fc29.x86_64 Fedora 29
When I try to run
./src/catkin/bin/ |
2019-03-23 22:37:26 -0500 | asked a question | build fails at camera_calibration_parsers; how do I recompile with -fPIC build fails at camera_calibration_parsers
Linux 4.19.12-301.fc29.x86_64 Fedora 29
When I try to run
./src/catkin/bin/ |