BewareMyPower commented on issue #17279:
URL: https://github.com/apache/pulsar/issues/17279#issuecomment-1233734596

   According to your `ldd` info, your executable links to 
`/lib64/libstdc++.so.6`, it should be the C++ dependency of GCC 4.8 unless it 
has been overwritten.
   
   ```bash
   $ ls -l /lib64/libstdc++.so.6
   lrwxrwxrwx 1 root root 19 Nov 13  2020 /lib64/libstdc++.so.6 -> 
libstdc++.so.6.0.19
   ```
   
   If you compiled your program with GCC 7, you must set the `LD_LIBRARY_PATH` 
environment variable to the correct path (where the `libstdc++.so` of GCC 7 
exists).
   
   > should I compile pulsar client with gcc 7.3.1 to fix this problem?
   
   Maybe not. You should link to the correct library when you ran it. Even if 
you compiled with GCC 7, if your executable still links to the 
`/lib64/libstdc++.so.6`.


-- 
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]

Reply via email to