Building a plugin for ignition failed error relocation R_X86_64_TPOFF32 against symbol `_ZN6google8protobuf5Arena13thread_cache_E' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libprotobuf.a(arena.o): relocation R_X86_64_TPOFF32 against symbol `_ZN6google8protobuf5Arena13thread_cache_E' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libprotobuf.a(descriptor.o): relocation R_X86_64_PC32 against symbol `_ZTIN6google8protobuf15DescriptorProtoE' 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
CMakeFiles/ArduPilotPlugin.dir/build.make:159: recipe for target 'libArduPilotPlugin.so' failed
make[2]: *** [libArduPilotPlugin.so] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/ArduPilotPlugin.dir/all' failed
make[1]: *** [CMakeFiles/ArduPilotPlugin.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
Ubutnu 18 gcc 8 g++ 8 ignition fortress
I have installed binary pacakges from official docs https://ignitionrobotics.org/api/gazebo/6.1/install.html
Asked by Asif Khan on 2022-04-16 01:28:31 UTC
Answers
Try this official doc: https://ignitionrobotics.org/docs/fortress/install_ubuntu
Asked by kakcalu13 on 2022-04-18 08:31:01 UTC
Comments