I used firefox based on FreeBSD perviously. but it wasn't able to run plugin of flash player. because flash player has only Linux version. so I installed linux-firefox by ports. Install is no error. However when the linux-firefox actually run , I get wan# linux-firefox /usr/local/lib/linux-firefox/firefox-bin: error while loading shared libraries: /usr/lib/libgtk-x11-2.0.so.0: ELF file OS ABI invalid Linux compatibility enviroment is seem to available. see the following wan# /compat/linux/bin/uname Linux And I also brand firefox-bin with Linux . see the following wan# brandelf /usr/local/lib/linux-firefox/firefox-bin File '/usr/local/lib/linux-firefox/firefox-bin' is of brand 'Linux' (3). I'm not sure linux compatibility enviroment is right, because when I use ldd ,I get wan# ldd /compat/linux/usr/bin/iconv /compat/linux/usr/bin/iconv: libc.so.6 => /lib/obsolete/linuxthreads/libc.so.6 (0x28072000) /lib/ld-linux.so.2 (0x28054000) According I known, Linux program need the shared library in the /compat/linux path. so I'm puzzling. Anyone have any suggestions as to the cause of this problem or its solution.
Hi, there is some problem in your linux-firefox installation. The firefox binary is: vlado.srv# ll /usr/local/bin/linux-firefox -r-xr-xr-x 1 root wheel 57 15 ??j 19:15 /usr/local/bin/linux-firefox vlado.srv# brandelf /usr/local/bin/linux-firefox brandelf: file '/usr/local/bin/linux-firefox' is not ELF format Other information: vlado.srv# uname -a FreeBSD srv.g1.netng.org 6.1-RC FreeBSD 6.1-RC #0: Wed Aug 16 00:08:49 CEST 2006 admin@srv.g1.netng.org:/usr/obj/usrmnt/src/sys/SRV i386 vlado.srv# ll /var/db/pkg/ | grep linux drwxr-xr-x 2 root wheel 512 15 ??j 19:11 linuxpluginwrapper-20051113_2 drwxr-xr-x 2 root wheel 512 15 ??j 19:15 linux-atk-1.8.0_1 drwxr-xr-x 2 root wheel 512 15 ??j 19:18 linux-expat-1.95.7_1 drwxr-xr-x 2 root wheel 512 15 ??j 19:15 linux-firefox-1.5.0.7 drwxr-xr-x 2 root wheel 512 15 ??j 19:18 linux-flashplugin-7.0r68 drwxr-xr-x 2 root wheel 512 15 ??j 19:18 linux-fontconfig-2.2.3_3 drwxr-xr-x 2 root wheel 512 15 ??j 19:15 linux-glib2-2.4.8_1 drwxr-xr-x 2 root wheel 512 15 ??j 19:15 linux-gtk2-2.4.14_3 drwxr-xr-x 2 root wheel 512 14 ??j 19:16 linux-gtk-1.2.10_1 drwxr-xr-x 2 root wheel 512 15 ??j 19:15 linux-hicolor-icon-theme-0.5 drwxr-xr-x 2 root wheel 512 15 ??j 19:15 linux-jpeg-6b.33 drwxr-xr-x 2 root wheel 512 14 ??j 19:16 linux-mozilla-1.7.13_1 drwxr-xr-x 2 root wheel 512 15 ??j 19:15 linux-pango-1.6.0_1 drwxr-xr-x 2 root wheel 512 15 ??j 19:15 linux-png-1.2.8 drwxr-xr-x 2 root wheel 512 14 ??j 19:16 linux-realplayer-10.0.7.785.20060201 drwxr-xr-x 2 root wheel 512 14 ??j 19:16 linux-sun-jdk-1.4.2.10 drwxr-xr-x 2 root wheel 512 15 ??j 19:15 linux-tiff-3.6.1_5 drwxr-xr-x 2 root wheel 512 15 ??j 19:18 linux-XFree86-libs-4.3.99.902_7 drwxr-xr-x 2 root wheel 512 14 ??j 19:47 linux-xorg-libs-6.8.2_5 drwxr-xr-x 2 root wheel 512 15 ??j 19:18 linux_base-fc-4_9 Cheers, -vlado On Sun, 22 Oct 2006, bin wan wrote:> I used firefox based on FreeBSD perviously. but it wasn't able to run plugin > of flash player. because flash player has only Linux version. so I installed > linux-firefox by ports. Install is no error. However when the linux-firefox > actually run , I get > wan# linux-firefox > /usr/local/lib/linux-firefox/firefox-bin: error while loading shared > libraries: /usr/lib/libgtk-x11-2.0.so.0: ELF file OS ABI invalid > > Linux compatibility enviroment is seem to available. see the following > wan# /compat/linux/bin/uname > Linux > > And I also brand firefox-bin with Linux . see the following > wan# brandelf /usr/local/lib/linux-firefox/firefox-bin > File '/usr/local/lib/linux-firefox/firefox-bin' is of brand 'Linux' (3). > > I'm not sure linux compatibility enviroment is right, because when I use ldd > ,I get > wan# ldd /compat/linux/usr/bin/iconv > /compat/linux/usr/bin/iconv: > libc.so.6 => /lib/obsolete/linuxthreads/libc.so.6 (0x28072000) > /lib/ld-linux.so.2 (0x28054000) > > According I known, Linux program need the shared library in the > /compat/linux path. so I'm puzzling. > > Anyone have any suggestions as to the cause of this problem or its solution. > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > >
On Sunday 22 October 2006 11:36, bin wan wrote:> I used firefox based on FreeBSD perviously. but it wasn't able to run > plugin of flash player. because flash player has only Linux version.Hi, native firefox works well ( read usable ) with linux-flashplugin and linuxpluginwrapper. I have written a howto ( my first "technical" paper so please be gentle ) on how to make flashplugin work in native firefox: http://www.erata.net/weblog/default/2006/10/16/flash-plugin-on-freebsd/ hope it helps, Iulian M. http://www.erata.net -- The part of the world that people find most puzzling is the part called "Me". -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20061022/670e42f6/attachment.pgp
On Sunday 22 October 2006 11:36, bin wan wrote:> /usr/local/lib/linux-firefox/firefox-bin: error while loading shared > libraries: /usr/lib/libgtk-x11-2.0.so.0: ELF file OS ABI invalidIt seems firefox-bin is trying to use the freebsd's native libgtk. You need to install linux-gtk2 port ( and maybe other ports like linux-xorg-libs ). You can't use linux binaries with native shared libs. -- UNIX is many things to many people, but it's never been everything to anybody. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20061022/9ab04041/attachment.pgp
On Sunday 22 October 2006 11:36, bin wan wrote:> > /usr/local/lib/linux-firefox/firefox-bin: error while loading shared > > libraries: /usr/lib/libgtk-x11-2.0.so.0: ELF file OS ABI invalid > > It seems firefox-bin is trying to use the freebsd's native libgtk. You need > to install linux-gtk2 port ( and maybe other ports like linux-xorg-libs ). > You can't use linux binaries with native shared libs.and also reading man linux should help. Iulian M. http://www.erata.net -- UNIX is many things to many people, but it's never been everything to anybody. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20061022/4caa4dfa/attachment.pgp
On Sun, 22 Oct 2006 16:36:40 +0800 bin wan wrote:> wan# linux-firefox > /usr/local/lib/linux-firefox/firefox-bin: error while loading shared > libraries: /usr/lib/libgtk-x11-2.0.so.0: ELF file OS ABI invalidYou may consider reading /usr/ports/UPDATING "20060616: AFFECTS users of emulation/linux_base-*" for tips on upgrading/using linux_base port. WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve