[opensuse] Google Earth vs openSuSE 13.1
Hi Folks. I've been having some issues with google earth not being able to start when launched from the desktop. It would sometimes run without crashing if launched from the command line in a terminal window, but lots of repeated errors were generated. I found the solution on one of the Fedora forums and I thought I'd post it here in case anyone else is in the same boat. Instructions as follows (adjusted for oS 13.1 x86_64 as installed on my machine; 1. You need the following up to date packages installed in your system: 1A. freeimage (the openSuSE package is libfreeimage3) 1B. qt-x11 1C. qt 1D. qtwebkit 1E. qt-devel (temporarily for a shim library creation - can be removed afterwards) 2. Install the current GE via the rpm (the forum post mentions modifying it to remove a /usr/bin dependency but I did not need to do that). 3. In /opt/google/earth/free delete all four libQt* libraries. 4. If you try to run googleearth now you will get an error; libbase.so: undefined symbol: _Z34BasicAtomicInt_fetchAndAddOrderedPVii. The missing function can be generated as follows; 4A. Create a file (the author called it baifaao.cpp but the name is not that important) with this content; ================= Code ============================= /* amirpli 2013/11/28 */ #include <QtCore/QAtomicInt> extern "C" { int _Z34QBasicAtomicInt_fetchAndAddOrderedPVii(QAtomicInt* a, int b) { return a->fetchAndAddOrdered(b); } } =============== End Code ========================= 4B. Compile it and create the shim library with; gcc -O3 -fPIC --shared baifaao.cpp -o baifaao.so Place baifaao.so in /opt/google/earth/free. 5. Edit (as root) the file /opt/google/earth/free/googleearth; add the following line immediately before the line starting with LD_LIBRARY_PATH; LD_PRELOAD=/usr/lib64/libgreeimage.so.3:./baifaao.so \ Note 1: Make sure there is no whitespace following the '\' at the end of that line. Note 2: Make sure there are no blank lines between the line you added and the LD_LIBRARY_PATH line. After following these instructions Google Earth now starts and runs properly again. No crashes so far. The forum post is here: http://forums.fedoraforum.org/showpost.php?p=1678303&postcount=60 Regards, Rodney. -- ============================================================== Rodney Baker VK5ZTV rodney.baker@iinet.net.au ============================================================== -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (1)
-
Rodney Baker