Gazebo | Ignition | Community
Ask Your Question
0

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

asked 2022-04-16 01:28:31 -0500

Asif Khan gravatar image

updated 2022-04-16 01:33:07 -0500

/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/gaze...

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2022-04-18 08:31:01 -0500

kakcalu13 gravatar image
edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2022-04-16 01:28:31 -0500

Seen: 52 times

Last updated: Apr 18