googleearth & skype trouble

Boris Samorodov bsam at ipt.ru
Sat Apr 19 15:03:57 UTC 2008


On Sat, 19 Apr 2008 00:33:22 +0200 Armin Pirkovitsch wrote:

>  There seems to be a problem with some linux applications eg.
> googleearth and skype.

> When I try to start them I get:
> <program>: error while loading shared libraries: /usr/lib/librt.so.1:
> ELF file OS ABI invalid

> My system:
> FreeBSD oh-sub1.local 8.0-CURRENT FreeBSD 8.0-CURRENT #10: Fri Dec 14
> 14:36:15 CET 2007     sperber at oh-sub1.local:/usr/obj/usr/src/sys/OH-SUB1
>  i386

> [sperber at oh-sub1] ~> sysctl -a |grep linux
> hw.snd.compat_linux_mmap: 0
> compat.linux.oss_version: 198144
> compat.linux.osrelease: 2.4.2
> compat.linux.osname: Linux

> [sperber at oh-sub1] ~> ls /var/db/pkg/ |grep linux
> linux-atk-1.9.1
> linux-cairo-1.0.2
> linux-expat-1.95.8
> linux-fontconfig-2.2.3_7
> linux-glib2-2.6.6
> linux-gtk2-2.6.10
> linux-jpeg-6b.34
> linux-libGLU-6.8.2
> linux-libsigc-2.0.17
> linux-nwnclient-1.68
> linux-pango-1.10.2
> linux-png-1.2.8_2
> linux-sdl-1.2.10,1
> linux-tiff-3.7.1
> linux-xorg-libs-6.8.2_5
> linux_base-fc-4_11
> linux_kdump-1.5_2

> kdumps of skype & googleearth:
> http://pastebin.com/m73adc53b
> http://pastebin.com/m13cd2e75

> skype-1.4.0.118_3,1
> google-earth-4.3.7191.6508 (new version provided by the maintainer)

> Any idea what could be wrong to cause that problem?

>From your kdump:
-----
 98302 googleearth-bin NAMI  "/compat/linux/lib/librt.so.1"
 98302 googleearth-bin NAMI  "/compat/linux"
 98302 googleearth-bin NAMI  "/compat/linux/lib/librt.so.1"
 98302 googleearth-bin RET   linux_open 3
 98302 googleearth-bin CALL  read(0x3,0xbfbfd92c,0x200)
 98302 googleearth-bin GIO   fd 3 read 512 bytes
[...]
 98302 googleearth-bin RET   read 512/0x200
 98302 googleearth-bin CALL  close(0x3)
 98302 googleearth-bin RET   close 0
 98302 googleearth-bin CALL  linux_open(0xbfbfd800,0,0x4805d5ab)
 98302 googleearth-bin NAMI  "/compat/linux/usr/lib/tls/librt.so.1"
 98302 googleearth-bin NAMI  "/usr/lib/tls/librt.so.1"
 98302 googleearth-bin RET   linux_open JUSTRETURN
 98302 googleearth-bin CALL  linux_open(0xbfbfd800,0,0x4805d5ab)
 98302 googleearth-bin NAMI  "/compat/linux/usr/lib/librt.so.1"
 98302 googleearth-bin NAMI  "/usr/lib/librt.so.1"
 98302 googleearth-bin RET   linux_open 3
 98302 googleearth-bin CALL  read(0x3,0xbfbfd92c,0x200)
 98302 googleearth-bin GIO   fd 3 read 512 bytes
[...]
-----

The linux library is found but not used. And then the native FreeBSD
one is got tried, hence the error occures. Sorry, but that seems to be
a symptom of linux.osrelease=2.6.16 requirement for those applications
to run.


WBR
-- 
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve


More information about the freebsd-emulation mailing list