inglada commented on issue #12837: [cpp-package]Wrong GLIBCXX version for 
cpp-package examples
URL: 
https://github.com/apache/incubator-mxnet/issues/12837#issuecomment-430412249
 
 
   Hi,
   Thanks for your answer. I helped me found some additional info. 
   I am using a gcc version which is installed in /usr/local/ and made 
available through debian/ubuntu "alternatives" mechanism via symlinks in 
/usr/bin/. 
   The problem is that libmxnet is using 
/usr/lib/x86_64-linux-gnu/libstdc++.so.6 instead of the one corresponding to 
the compiler used for building.
   
   If I use the gcc 6.3 version in /usr/bin/ everything goes OK.
   
   This is not a sane behaviour, since it means that something in mxnet build 
process is not using the compiler's default libstdc++; but the one which is in 
/usr/lib/. The "alternatives" mechanism works fine for many libraries I build 
from source.
   
   There may be something hard coded in the provided Makefile. I can try to 
investigate further if you give me some hints.
   
   Is CMake a supported build process?
   
   Thanks.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to