BewareMyPower opened a new pull request, #432: URL: https://github.com/apache/pulsar-client-cpp/pull/432
### Motivation There is a case that `libpulsar.so` could unexpectedly call functions from other dependencies. For example, assuming the application depends on two libraries: - `libpulsar.so`, which includes the symbols from `libcurl.a` 8.4.0 - `libfoo.so`, which includes the symbols from `libcurl.a` 7.82.0 If the link order is `libfoo.so` first, then the libcurl definitions from 7.82.0 will also be used by `libpulsar.so` and then the application might crash due to the incompatibility. This is an issue specifically with Linux ELF format. ### Modifications Add the `-Wl,-Bsymbolic` link option for GCC. -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
