Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Apr 2008 01:09:10 +0400
From:      Boris Samorodov <bsam@ipt.ru>
To:        Armin Pirkovitsch <a.pirko@inode.at>
Cc:        emulation@freebsd.org
Subject:   Re: googleearth & skype trouble
Message-ID:  <51254665@bb.ipt.ru>
In-Reply-To: <40533363@bb.ipt.ru> (Boris Samorodov's message of "Sat\, 19 Apr 2008 19\:03\:56 %2B0400")
References:  <480921B2.6030004@inode.at> <40533363@bb.ipt.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 19 Apr 2008 19:03:56 +0400 Boris Samorodov wrote:
> 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@oh-sub1.local:/usr/obj/usr/src/sys/OH-SUB1
> >  i386

> > [sperber@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@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.

I've just committed a patch to emulators/linux_base-fc4 that may help
here. Please, upgrade the port to linux_base-fc-4_12 and check up if
that helps.


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51254665>