I am going to describe commands executed step by step (NOTE: As I said before, they are extracted from links posted before, but I have described them step by step in order to make it easy for non linux experts like me):
// Change to root user
$sudo -s
// Move to Google Earth installation folder
#cd /opt/google-earth
// Create a temporally folder to download libstdc++ library
#mkdir -pm 777 temp
#cd temp
// Load RPM packages repositories
#rpm -vU \
\
// Download libstdc++ library RPM package
#wget
// Extract package
#rpm2cpio libstdc++-4.3.2-7.i386.rpm | cpio -idv
// The extraction creates the ./usr/lib folder that contains libstdc++.so.6.0.10 and a softlink, libstdc++.so.6 files
// Move to new ./usr/lib folder
#cd usr/lib
// Copy libstdc++.so.6.0.10 into /opt/google-earth folder
#cp libstdc++.so.6 /opt/google-earth
// Move to /opt/google-earth folder
#cd /opt/google-earth
// Create a softlink
#ln -s libstdc++.so.6.0.10 libstdc++.so.6
// Now Google Earth should work. We just only have to try to execute it
#./google-earth
I hope this post helps to non linux experts like me. Thanks to other webs where I
阅读(1254) | 评论(0) | 转发(0) |