|
FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
Firefox3 + Flash 7
Hi I have followed the guide on FreeBSD handbook to try to install flash for firefox3.
This is the error I get when I try to nspluginwrapper it: Code:
[disappearedng@ /usr/home/disappearedng]$ nspluginwrapper -v -a -i Auto-install plugins from /usr/X11R6/lib/browser_plugins Looking for plugins in /usr/X11R6/lib/browser_plugins Auto-install plugins from /usr/local/lib/npapi/linux-flashplugin Looking for plugins in /usr/local/lib/npapi/linux-flashplugin /usr/local/lib/nspluginwrapper/i386/linux/npviewer.bin: error while loading shared libraries: libgobject-2.0.so.0: cannot open shared object file: No such file or directory Auto-install plugins from /home/disappearedng/.mozilla/plugins Looking for plugins in /home/disappearedng/.mozilla/plugins |
|
|||
Code:
-rw-r--r-- 1 root wheel 370162 Jul 5 18:13 /usr/local/lib/libgobject-2.0.a -rwxr-xr-x 1 root wheel 994 Jul 5 18:13 /usr/local/lib/libgobject-2.0.la lrwxr-xr-x 1 root wheel 19 Jul 5 18:13 /usr/local/lib/libgobject-2.0.so -> libgobject-2.0.so.0 -rwxr-xr-x 1 root wheel 251326 Jul 5 18:13 /usr/local/lib/libgobject-2.0.so.0 |
|
||||
According to ldd, npviewer.bin expects libgobject in /usr/lib, not in /usr/local/lib. First try 'ldconfig /usr/local/lib' to make sure that that particular library path is properly 'hinted'. If that fails, try symlinking /usr/lib/libgobject-2.0.so.0 to /usr/local/lib/libgobject-2.0.so.0 (though I'm afraid you'll have to do that for a lot of libraries). Reinstalling glib20 and nspluginwrapper may be another option.
|
|
|||
OK I went to /usr/ports/devel/glib20 and deinstalled it using make deinstall
then i went on and reinstalled it using make install funny thing is , Code:
-rw-r--r-- 1 root wheel 370162 Sep 12 12:28 /usr/local/lib/libgobject-2.0.a -rwxr-xr-x 1 root wheel 994 Sep 12 12:28 /usr/local/lib/libgobject-2.0.la lrwxr-xr-x 1 root wheel 19 Sep 12 12:28 /usr/local/lib/libgobject-2.0.so -> libgobject-2.0.so.0 -rwxr-xr-x 1 root wheel 251326 Sep 12 12:28 /usr/local/lib/libgobject-2.0.so.0 and Code:
[disappearedng@ /usr/lib]$ sudo nspluginwrapper -v -a -i Auto-install plugins from /usr/X11R6/lib/browser_plugins Looking for plugins in /usr/X11R6/lib/browser_plugins Auto-install plugins from /usr/X11R6/lib/firefox/plugins Looking for plugins in /usr/X11R6/lib/firefox/plugins Auto-install plugins from /usr/local/lib/npapi/linux-flashplugin Looking for plugins in /usr/local/lib/npapi/linux-flashplugin /usr/local/lib/nspluginwrapper/i386/linux/npviewer.bin: error while loading shared libraries: libgobject-2.0.so.0: cannot open shared object file: No such file or directory Auto-install plugins from /root/.mozilla/plugins Looking for plugins in /root/.mozilla/plugins |
|
|||
Code:
[disappearedng@ /usr/lib]$ pkg_info | grep glib dbus-glib-0.76 GLib bindings for the D-BUS messaging system glib-2.16.5 Some useful routines of C programming (current stable versi glib-java-0.4.2_2 Java wrapper GLib 2 glibmm-2.14.1,1 C++ interfaces for glib2 taglib-1.5 Library for manipulating ID3 tags and Ogg comments |
|
|||
Code:
[disappearedng@ /usr/ports/www/nspluginwrapper]$ ls /usr/lib/libgobject-2.0.so.0 ls: /usr/lib/libgobject-2.0.so.0: No such file or directory Code:
[disappearedng@ /usr/lib]$ sudo ln -s /usr/local/lib/libgobject-2.0.so.0 Code:
[disappearedng@ /usr/lib]$ sudo nspluginwrapper -v -a -i Auto-install plugins from /usr/X11R6/lib/browser_plugins Looking for plugins in /usr/X11R6/lib/browser_plugins Auto-install plugins from /usr/X11R6/lib/firefox/plugins Looking for plugins in /usr/X11R6/lib/firefox/plugins Auto-install plugins from /usr/local/lib/npapi/linux-flashplugin Looking for plugins in /usr/local/lib/npapi/linux-flashplugin /usr/local/lib/nspluginwrapper/i386/linux/npviewer.bin: error while loading shared libraries: /usr/lib/libgobject-2.0.so.0: ELF file OS ABI invalid Auto-install plugins from /root/.mozilla/plugins Looking for plugins in /root/.mozilla/plugins What gives Last edited by disappearedng; 12th September 2008 at 04:41 PM. |
|
||||
What is the output of 'file /usr/local/lib/libgobject-2.0.so.0'? The error seems to suggest a binary/library/OS mix-up.
Mine is: /usr/local/lib/libgobject-2.0.so.0: ELF 32-bit LSB shared object, Intel 80386, version 1 (FreeBSD), dynamically linked, not stripped And: file /usr/local/lib/nspluginwrapper/i386/linux/npviewer.bin -> /usr/local/lib/nspluginwrapper/i386/linux/npviewer.bin: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.5, dynamically linked (uses shared libs), stripped Do you have Linux emulation enabled (see kldstat) ? Last edited by DutchDaemon; 12th September 2008 at 04:47 PM. |
|
|||
Code:
[disappearedng@ /usr/home/disappearedng]$ file /usr/local/lib/libgobject-2.0.so.0 /usr/local/lib/libgobject-2.0.so.0: ELF 32-bit LSB shared object, Intel 80386, version 1 (FreeBSD), dynamically linked, not stripped [disappearedng@ /usr/home/disappearedng]$ file /usr/local/lib/nspluginwrapper/i386/linux/npviewer.bin /usr/local/lib/nspluginwrapper/i386/linux/npviewer.bin: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.5, dynamically linked (uses shared libs), stripped [disappearedng@ /usr/home/disappearedng]$ kldstat Id Refs Address Size Name 1 17 0xc0400000 4793b8 kernel 2 1 0xc087a000 8b20 if_sis.ko 3 1 0xc0883000 6f88 snd_ich.ko 4 2 0xc088a000 4a5ac sound.ko 5 1 0xc5131000 22000 linux.ko 6 1 0xc5182000 1d000 nfsserver.ko 7 1 0xc5404000 6000 i915.ko 8 1 0xc540f000 f000 drm.ko Is this good enough? Is there something wrong with my linux compatibility layer? |
|
||||
You seem to have the exact same setting as I have. The only thing you could try is to recompile nspluginwrapper. Other than that, I have no idea. (this is where other forum members step in to point out something obvious ..)
|
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Flash 10 | Oko | NetBSD Package System (pkgsrc) | 14 | 9th June 2009 02:23 PM |
firefox3 with mplayer-plugin? Any possibility to make them work together.? | daemonFromHeaven | FreeBSD Ports and Packages | 4 | 16th September 2008 09:47 AM |
firefox3 will not compile | map7 | FreeBSD Ports and Packages | 8 | 14th July 2008 11:23 PM |
Firefox3 & Java | DarkEnergy | FreeBSD General | 3 | 5th July 2008 11:17 PM |
Flash | syrushcw | FreeBSD Ports and Packages | 1 | 16th May 2008 02:24 PM |