Hello everybody. Last weekend I was compiling the Qt to build KDE. The compilation finished without problem but to generate the local API documentation, the following error occurred: GLIBCXX_3.4.15 not found.
I’ve had compiled the GCC 4.6 as shown in Installing GCC 4.6 in the Ubuntu 10.10 and when I’ve installed it, the file “libstdc++.so.6.0.15” was not installed in “/usr/lib/”.
To solve that, copy the file from build directory (this location refer where you compiled GCC 4.6):
sudo cp gcc/build/x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs/libstdc++.so.6.0.15 /usr/lib/
Now, redirect the links to point to this new one:
sudo rm libstdc++.so libstdc++.so.6
sudo ln -s libstdc++.so.6.0.15 libstdc++.so
sudo ln -s libstdc++.so.6.0.15 libstdc++.so.6
Done that, the local API documentation was generated without problem.
That’s it. See you at next time.