Google Earth for Linux works on FreeBSD

Loren M. Lang lorenl at alzatex.com
Wed Jun 14 22:30:35 UTC 2006


Christian Lopez de Castilla Wagner wrote:
> On Wed, 2006-06-14 at 14:39 -0700, Loren M. Lang wrote:
>> Ganbold wrote:
>>> Works here with some glitch.
>>> I got one time crash and probably it is not related to FreeBSD. Did
>>> portupgrade few days ago.
>>>
>>> -----------------------------------------------------
>>> gdaemon# googleearth
>>> Google Earth has caught signal 11.
>>>
>>> Stacktrace from glibc:
>>>  ./googleearth-bin(__gxx_personality_v0+0x212) [0x804ab32]
>>>  ./googleearth-bin [0x804b133]
>>>  /lib/libpthread.so.0 [0x29d289ad]
>>>  [0xbfbfffbf]
>>>  
>>> /usr/local/share/google-earth/libevll.so(_ZN5earth4evll5Cache18loaderNodePopulateEPNS0_9CacheNodeEPNS_10HeapBufferE+0x50)
>>> [0x2a1e5950]
>>>  
>>> /usr/local/share/google-earth/libevll.so(_ZN5earth4evll9NetLoader17finishHttpRequestEPNS0_11NLQueueElemEmPNS_10HeapBufferE+0x1a2)
>>> [0x2a2b02e2]
>>>  
>>> /usr/local/share/google-earth/libevll.so(_ZN5earth4evll9NetLoader12asyncHandlerEv+0x2ef)
>>> [0x2a2b74df]
>>>  
>>> ./libbase.so(_ZN5earth11AsyncThread12asyncHandlerEPNS0_10ThreadInfoE+0x53)
>>> [0x2862ef13]
>>>  ./libbase.so(_ZN5earth11AsyncThread9asyncFuncEPv+0x28) [0x2862efd8]
>>>  /lib/libpthread.so.0 [0x29d22aea]
>>>  /lib/libc.so.6(__clone+0x57) [0x29cc8017]
>>>
>>> We apologize for the inconvenience, but Google Earth has crashed.
>>> This is a bug in the program, and should never happen under normal
>>> circumstances. A bug report and debugging data are now being written
>>> to this text file:
>>>
>>>    /root/.googleearth/crashlogs/crashlog-D220C3BE.txt
>>>
>> Please tell me you aren't running google earth as root.
>>
> 
> That wasn't my crash, I can't get it to run.
> But could that be the problem? It didn't even remotely occur to me,
> since I'm getting the 'libXext.so.6: ELF file OS ABI invalid' error.
> I will try with fc4 and linux-xorg later tonight as both root and as a
> normal user, we'll see what happens.
> 
> 

OS ABI error tells me that it might be loading the freebsd libs for a
linux app.  You must use entirely linux libraries for linux
applications, symlinking to freebsd libs doesn't work.  Mainly you just
need to make sure all the appropriate linux libraries are installed by
making sure the right ports are installed.  The google-earth port should
have done this for you, but it sounds like it might not have.  The
linux_base-* ports install a basic linux install without X11, but
linux-XFree86-libs installs the X11 libs needed.  I've found though that
that wasn't enough in the past, I have to add /usr/X11R6/lib to the file
/usr/compat/linux/etc/ld.so.conf and then run the command
/usr/compat/linux/sbin/ldconfig for any linux apps to find the linux X11
libs.

-- 
Loren M. Lang
lorenl at alzatex.com
http://www.alzatex.com/


Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
Fingerprint: CEE1 AAE2 F66C 59B5 34CA  C415 6D35 E847 0118 A3D2


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20060614/00f1565e/signature.pgp


More information about the freebsd-ports mailing list