Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Mar 2005 15:48:56 HST
From:      knowtree@aloha.com
To:        freebsd-gnome@freebsd.org
Subject:   How do I add Java and Flash to Mozilla and Epiphany?
Message-ID:  <200503260148.j2Q1muV22424@yoda.pixi.com>

next in thread | raw e-mail | index | archive | help
Can someone please point me to instructions on how to add Java and Flash to
Mozilla and Epiphany. I followed the handbook
<http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/desktop-browsers.html>;
 sec. 6.2.2 modified by the instructions displayed that appeared as the
java/jdk14 port built, but it doesn't work.

I now have four libraries on my system:

# locate libflashplayer
/usr/X11R6/lib/browser_plugins/defunct/libflashplayer_linux.so
/usr/X11R6/lib/browser_plugins/libflashplayer.so
/usr/local/lib/flash/libflashplayer.so
/usr/local/lib/linux-flashplugin6/libflashplayer.so

The second one is a link to the forth one, and I guess the first one
doesn't count, so really I have two.

With the /usr/X11R6/bin/mozilla startup script hacked as in the handbook I get:

/usr/libexec/ld-elf.so.1: Cannot open "/usr/local/lib/libflashplayer.so.1"
/usr/libexec/ld-elf.so.1: Cannot open "/usr/local/lib/libflashplayer.so.1"
/usr/libexec/ld-elf.so.1: Cannot open "/usr/local/lib/libflashplayer.so.1"
/usr/libexec/ld-elf.so.1: Cannot open "/usr/local/lib/libflashplayer.so.1"

With /usr/X11R6/bin/mozilla modified to include:


 LD_PRELOAD=/usr/local/lib/flash/libflashplayer.so
 export LD_PRELOAD

mozilla refuses to start and displays this on stderr:

 /usr/libexec/ld-elf.so.1: /usr/local/lib/flash/libflashplayer.so:
Undefined symbol "overrideShellClassRec"
/usr/libexec/ld-elf.so.1: /usr/local/lib/flash/libflashplayer.so: Undefined
symbol "overrideShellClassRec"
/usr/libexec/ld-elf.so.1: /usr/local/lib/flash/libflashplayer.so: Undefined
symbol "overrideShellClassRec"
/usr/libexec/ld-elf.so.1: Shared object "libmozjs.so" not found, required
by "mozilla-bin"

So, I'm lost in space. 

Gary Dunn
Honolulu
knowtree@aloha.com




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