[GitHub] [pulsar-client-node] BewareMyPower commented on issue #284: Document minimum required libstdc++ version
BewareMyPower commented on issue #284: URL: https://github.com/apache/pulsar-client-node/issues/284#issuecomment-1384024450 I have tested Rocky Linux 8, CentOS 8 with latest master and they both work well. But CentOS 7 is not supported because its highest `GLIBCXX` version is 3.4.19. I've opened an issue: https://github.com/apache/pulsar-client-node/issues/286. So I will close this issue for now. You can reopen it if you have other questions. BTW, the `libstdc++` version might not be user-friendly because users have to check the libstdc++ versions for the systems they use. -- 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: commits-unsubscr...@pulsar.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [pulsar-client-node] BewareMyPower commented on issue #284: Document minimum required libstdc++ version
BewareMyPower commented on issue #284: URL: https://github.com/apache/pulsar-client-node/issues/284#issuecomment-1383945985 #285 fixes the issue for Debian buster, but the libstdc++ version is still too high for RHEL-based distributions. Here are the `GLIBCXX_` symbols from the `Pulsar.node` built in latest master. ``` GLIBCXX_3.4 GLIBCXX_3.4.11 GLIBCXX_3.4.14 GLIBCXX_3.4.15 GLIBCXX_3.4.18 GLIBCXX_3.4.19 GLIBCXX_3.4.20 GLIBCXX_3.4.21 GLIBCXX_3.4.22 GLIBCXX_3.4.9 ``` Compared with 1.8.0, the master only reduces the `GLIBCXX_3.4.26` string. The root cause is that the `libpulsarwithdeps.a` is installed from a deb package on Debian-based distributions: https://github.com/apache/pulsar-client-node/blob/dc2c3c5feb1d51e317215ae183ccf0a1b7306353/pkg/linux/download-cpp-client.sh#L43-L46 Not matter it's Debian 10 or Debian 11, the deb package was built on Debian 9: https://github.com/apache/pulsar-client-cpp/blob/cedc0c11b75b137537ada3ff782f0e91482e58b6/pkg/deb/Dockerfile#L22 -- 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: commits-unsubscr...@pulsar.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [pulsar-client-node] BewareMyPower commented on issue #284: Document minimum required libstdc++ version
BewareMyPower commented on issue #284: URL: https://github.com/apache/pulsar-client-node/issues/284#issuecomment-1383815349 https://github.com/apache/pulsar-client-node/pull/285 might fix this issue, I will perform more verifications in my local env. -- 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: commits-unsubscr...@pulsar.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [pulsar-client-node] BewareMyPower commented on issue #284: Document minimum required libstdc++ version
BewareMyPower commented on issue #284: URL: https://github.com/apache/pulsar-client-node/issues/284#issuecomment-1383152921 > An alternative could be to not dynamically link any dependencies at all Maybe we can link statically to `libstdc++` and `libgcc_s` on Linux for Pulsar C++ client. But when building the Node Add-on, we also need to link to them statically. I think we need to fix the building script to fallback to building from source for systems with lower version libstdc++. -- 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: commits-unsubscr...@pulsar.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org