You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2019/04/21 14:07:43 UTC
[GitHub] [pulsar] sekarpdkt commented on issue #1964: pulsar-client-cpp not
able to build with static link
sekarpdkt commented on issue #1964: pulsar-client-cpp not able to build with static link
URL: https://github.com/apache/pulsar/issues/1964#issuecomment-485254585
I tried it in Ubuntu. Still fails.
```
[ 89%] Linking CXX shared library libpulsar.so
/usr/bin/ld: /usr/lib/x86_64-linux-gnu/libboost_regex.a(regex.o): relocation R_X86_64_PC32 against symbol `_ZTVN5boost9exceptionE' 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
lib/CMakeFiles/pulsarShared.dir/build.make:2370: recipe for target 'lib/libpulsar.so.2.4.0-SNAPSHOT' failed
make[2]: *** [lib/libpulsar.so.2.4.0-SNAPSHOT] Error 1
CMakeFiles/Makefile2:153: recipe for target 'lib/CMakeFiles/pulsarShared.dir/all' failed
make[1]: *** [lib/CMakeFiles/pulsarShared.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 90%] Linking CXX static library libpulsar.a
[ 90%] Built target pulsarStatic
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services