I found the reason of such undefined symbol error. In 
CMakeFiles/tvm_runtime.dir/link.txt, it use `/usr/bin/gcc` rather than 
`/usr/bin/c++`. So the libtvm_runtime.so cannot find libstdc++.so to link. I 
manually modify link.txt, and make again. It worked. But I wonder why link.txt 
use gcc instead of c++, and how the link.txt generated. What do I need to 
modify to generate the correct link.txt? Thanks





---
[Visit 
Topic](https://discuss.tvm.ai/t/libtvm-runtime-so-undefined-symbol/6132/2) to 
respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click 
here](https://discuss.tvm.ai/email/unsubscribe/11a23dd90081f4e15313769e0bf10c32f4a542a07fb95d75cd9a22235c6099d8).

Reply via email to