How to configure libstdc++ with GCC 4.8?
You need to tell your dynamic linker (itβs executed when you run your program) where to find the library. Set LD_LIBRARY_PATH to the path of the library (probably somewhere under /app/gcc/4.8.0/lib or something).
Use find /app/gcc/4.8.0 -name βlibstdc++.so.6β. Add the directory to your LD_LIBRARY_PATH. e.g with the path I mentioned:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/app/gcc/4.8.0/lib (if youβre using a bourne-like shell which the default on Linux).
Then try to run your program.
Voila!!










