A Phoronix article compares the performance differences between 32-bit and 64-bit Ubuntu 14.10. In the comments, one person claims that Google Earth is a 32-bit program wrapped in a 64-bit installer. Another person called that question into some doubt:
This is from the 64-bit RPM version downloaded from Google and installed on Fedora 20.
The 64-bit RPM package is free of any dependencies. For Debian and Ubuntu, however, the 64-bit package contains a dependency on ia32-libs:
A user of this package ran the Google Earth executable inside a debugger and confirmed that even for Debian/Ubuntu, it's a pure 64-bit binary.
The problem is, for Ubuntu, ia32-libs hasn't been part of the package repository since Raring. Thus, the 64-bit Google Earth package won't install, because a required dependency is unavailable. You can install the 32-bit package, and also install several megabytes of 32-bit libraries. But I was curious to see if there was another way, and tried an experiment on my 64-bit Kubuntu 14.10 system.
First, I told dpkg to ignore the required ia32-libs dependency:
Success!
Then I tried to run it:
The window briefly opened, and then crashed. Notably, ~/.config/Google and ~/.googleearth were created and populated.
Running a second time resulted in the same errors appearing in the console window but it didn't crash. I zoomed around the planet for four or five minutes with no problem. However, third and subsequent runs all failed.
I deleted those subdirectories and ran it again. This time, the first run was fine. A second run failed. A third run was fine. So it's really hit-or-miss here, which is so totally weird. All failures are like what I indicated above.
Once more I deleted the directories. This time, after taking a look at the shell script that /usr/bin/google-earth links to, I ran:
The first run crashed. Subsequent runs all seemed fine. I'm not exactly sure what to make of this, other than that forcing the binary to use Google's supplied libraries (that's what setting the variable LD_LIBRARY_PATH does) makes it appear to be more stable. It's still rather a mystery as to why any 32-bit libraries may be needed with the 64-bit executable.
I've also posted this experiment in the Phoronix comment thread. Might be worth following for a while to see if anyone has ideas.
BTW, it sure made my laptop get quite hot!
Huh?!?!
$ file /opt/google/earth/free/googleearth-bin
/opt/google/earth/free/googleearth-bin: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.24, BuildID[sha1]=693eb30111744b4518910a316785d954c7a1b0fd, stripped
$ file /opt/google/earth/free/googleearth-bin
/opt/google/earth/free/googleearth-bin: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.24, BuildID[sha1]=693eb30111744b4518910a316785d954c7a1b0fd, stripped
The 64-bit RPM package is free of any dependencies. For Debian and Ubuntu, however, the 64-bit package contains a dependency on ia32-libs:
Code:
Depends: lsb-core (>= 3.2), ia32-libs
The problem is, for Ubuntu, ia32-libs hasn't been part of the package repository since Raring. Thus, the 64-bit Google Earth package won't install, because a required dependency is unavailable. You can install the 32-bit package, and also install several megabytes of 32-bit libraries. But I was curious to see if there was another way, and tried an experiment on my 64-bit Kubuntu 14.10 system.
First, I told dpkg to ignore the required ia32-libs dependency:
Code:
steve@t520:~$ sudo [B]dpkg --ignore-depends=ia32-libs -i google-earth-stable_current_amd64.deb[/B] Selecting previously unselected package google-earth-stable. (Reading database ... 162986 files and directories currently installed.) Preparing to unpack google-earth-stable_current_amd64.deb ... Unpacking google-earth-stable (7.1.2.2041-r0) ... Setting up google-earth-stable (7.1.2.2041-r0) ... Processing triggers for man-db (2.7.0.2-2) ... Processing triggers for desktop-file-utils (0.22-1ubuntu2) ... Processing triggers for mime-support (3.55ubuntu1) ...
Then I tried to run it:
Code:
steve@t520:~$ [B]google-earth[/B] [1027/223157:ERROR:net_util.cc(2195)] Not implemented reached in bool net::HaveOnlyLoopbackAddresses() [1027/223157:ERROR:nss_ocsp.cc(581)] No URLRequestContext for OCSP handler. . . {repeated many times} . . Another crash happened while handling crash!
Running a second time resulted in the same errors appearing in the console window but it didn't crash. I zoomed around the planet for four or five minutes with no problem. However, third and subsequent runs all failed.
I deleted those subdirectories and ran it again. This time, the first run was fine. A second run failed. A third run was fine. So it's really hit-or-miss here, which is so totally weird. All failures are like what I indicated above.
Once more I deleted the directories. This time, after taking a look at the shell script that /usr/bin/google-earth links to, I ran:
Code:
steve@t520:~$ [B]LD_LIBRARY_PATH=/opt/google/earth/free /opt/google/earth/free/googleearth-bin[/B]
I've also posted this experiment in the Phoronix comment thread. Might be worth following for a while to see if anyone has ideas.
BTW, it sure made my laptop get quite hot!
Comment