FireFox und Java/Flash-Plugins

Tomonage

Well-Known Member
Hi Folks,


Ich habe hier Probleme mit obrigem. Ich weiß, im FOrum gibt es schon me menge Posts zu den Plugin und Phoenix/Firebird, aber irgendwie scheinen die bei mir nicht zu funktionieren und sind auch schon recht alt.


als ich habe:
> pkg_version -v | grep jdk
jdk-1.4.2p6_3 = up-to-date with port
linux-sun-jdk-1.4.2.03 = up-to-date with port

ll /usr/X11R6/lib/firefox/lib/mozilla-1.6/plugins/libjavaplugin_oji.so
0 lrwxr-xr-x 1 root wheel 91 Feb 25 18:13 /usr/X11R6/lib/firefox/lib/mozilla-1.6/plugins/libjavaplugin_oji.so@ -> /usr/X11R6/lib/firefox/lib/mozilla-1.6/plugins/java2/plugin/i386/ns600/libjavaplugin_oji.so


und firefox 0.8 natürlich.

Auch habe ich in /usr/local/jdk1.4.2/jre/bin/ControlPanel das jre mal auf das jdk1.4.2 umgestellt, das hat aber auch nichts gebracht :-(
Wie bekomme ich nun das java-plugin zum laufen?

Nun zu flash, welchen port soll ich da nehmen? Welcher geht mit firefox? in den meisten Dokus steht ja nur was von Mozilla


Danke Euch
 
Seit neuestem geht der linuxpluginwrapper recht gut mit dem Mozilla und auch mit dem FireFox.
Zu dem Java-Plugin:
ls -l /usr/X11R6/lib/browser_plugins/
total 226
lrwxr-xr-x 1 root wheel 49 1 Mär 13:17 flashplayer.xpt -> /usr/local/lib/linux-flashplugin6/flashplayer.xpt
lrwxr-xr-x 1 root wheel 51 1 Mär 13:17 libflashplayer.so -> /usr/local/lib/linux-flashplugin6/libflashplayer.so
lrwxr-xr-x 1 root wheel 62 16 Feb 12:28 libjavaplugin_oji.so -> /usr/local/jdk1.4.2/jre/plugin/i386/ns610/libjavaplugin_oji.so
-r--r--r-- 1 root wheel 212752 4 Mär 12:18 mplayerplug-in.so
-r--r--r-- 1 root wheel 332 4 Mär 12:18 mplayerplug-in.xpt
So klappt java bei meinem Mozilla 1.6 und dem FireFox 0.8.
 
Danke,

mit dem wrapper ging alles, nachdem ich die libmap.conf nach der pkg-message bearbeitet hatte.


JUHU
 
also ich habe den wrapper installiert und wie gesagt den anweisungen nach eine /etc/libmap.conf erstellt. welche eintraege man da rein machen muss, wird angezeigt.
 
was soll in der pkg-message diese %%LIBCONF%% oder so?
muss das auch in die libmap.conf?
 
Meine /etc/libmap.conf sieht so aus. Damit funktioniert bei mir flash und java.
Code:
# /etc/libmap.conf for FreeBSD 5.x
# $Id: libmap.conf-FreeBSD5.x,v 1.4 2004/02/08 03:38:03 nork Exp $


# Flash6 with Opera is not avilable.

# Flash6 with Konqueror
[/usr/X11R6/lib/browser_plugins/libflashplayer.so]
libpthread.so.0         	pluginwrapper/flash6.so
libdl.so.2                      pluginwrapper/flash6.so
libz.so.1                       libz.so.2
libstdc++-libc6.2-2.so.3        liblstdc++.so.4
libm.so.6                       libm.so.2
libc.so.6                       pluginwrapper/flash6.so


# Flash6 with Mozilla/Firebird/Galeon/Epiphany
[/usr/local/lib/linux-flashplugin6/libflashplayer.so]
libpthread.so.0         	pluginwrapper/flash6.so
libdl.so.2                      pluginwrapper/flash6.so
libz.so.1                       libz.so.2
libstdc++-libc6.2-2.so.3        liblstdc++.so.4
libm.so.6                       libm.so.2
libc.so.6                       pluginwrapper/flash6.so

# Java3D
# NOTE: THESE ARE SAMPLES.  PLEASE SEE ALSO INSTALL MESSAGES
#       OF java/java3d PORT.
[/usr/local/jdk1.4.2/jre/lib/i386/libJ3D.so]
libdl.so.2                      pluginwrapper/java3d.so
libm.so.6                       libm.so.2
libnsl.so.1                     pluginwrapper/java3d.so
libpthread.so.0                 pluginwrapper/java3d.so
libc.so.6                       pluginwrapper/java3d.so

[/usr/local/jdk1.4.2/jre/lib/i386/libj3daudio.so]
libm.so.6                       libm.so.2
libnsl.so.1                     pluginwrapper/java3d_snd.so
libpthread.so.0                 pluginwrapper/java3d_snd.so
libc.so.6                       pluginwrapper/java3d_snd.so

[/usr/local/jdk1.4.2/jre/lib/i386/libJ3DUtils.so]
libpthread.so.0                 pluginwrapper/java3d.so
libc.so.6                       pluginwrapper/java3d.so


# Java Advanced Imaging (JAI) API
# NOTE: THIS IS A SAMPLE.  PLEASE SEE ALSO INSTALL MESSAGES
#       OF java/jai PORT.
[/usr/local/jdk1.4.2/jre/lib/i386/libmlib_jai/libmlib_jai.so]
libm.so.6                       libm.so.2
libc.so.6                       pluginwrapper/jai.so


# JAI Image I/O Tools
# NOTE: THIS IS A SAMPLE.  PLEASE SEE ALSO INSTALL MESSAGES
#       OF java/jai-imageio PORT.
[/usr/local/jdk1.4.2/jre/lib/i386/libclib_jiio.so]
libm.so.6                       libm.so.2
libc.so.6                       pluginwrapper/jai.so
 
Zuletzt bearbeitet:
habe sie 1:1 kopiert und habe immernoch nur java und kein flash
auch habe ürbrigens mozilla 1.6
 
hier meine links:
ls -l /usr/X11R6/lib/browser_plugins
total 0
lrwxr-xr-x 1 root wheel 49 Mar 4 16:41 flashplayer.xpt -> /usr/local/lib/linux-flashplugin6/flashplayer.xpt
lrwxr-xr-x 1 root wheel 51 Mar 4 16:41 libflashplayer.so -> /usr/local/lib/linux-flashplugin6/libflashplayer.so
lrwxr-xr-x 1 root wheel 62 Mar 4 16:22 libjavaplugin_oji.so -> /usr/local/jdk1.4.2/jre/plugin/i386/ns610/libjavaplugin_oji.so
lrwxr-xr-x 1 root wheel 48 Mar 4 16:41 nppdf.so -> /usr/local/Acrobat5/Browsers/intellinux/nppdf.so
 
Hallo

Ich hab da ein kleines Problem, bei dem ich nicht weiter komme. Wenn ich den linuxpluginwrapper aus den Ports installieren möchte, bekomme ich folgende Meldung:
Code:
Please enable libmap.conf(5) feature for rtld(1).
4-stable user:
        You can get a following patch.
        [url]http://people.FreeBSD.org/~nork/libmap_4stable.diff[/url]
   Please apply on /usr/src and make install on /usr/src/libexec/rtld-elf:
   # cd /usr/src ; patch -p0 < /tmp/libmap_4stable.diff
   # cd libexec/rtld-elf ; make clean all install
5.1-RELEASE user:
        Please see /usr/src/libexec/rtld-elf/Makefile.
*** Error code 1
 
Stop in /usr/ports/www/linuxpluginwrapper.

Soweit ok, aber wenn ich ...
Code:
cd /usr/src ; patch -p0 < /tmp/libmap_4stable.diff
... ausführe, bekomme ich die Meldung:
Code:
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -urN libexec/rtld-elf.old/Makefile libexec/rtld-elf/Makefile
|--- libexec/rtld-elf.old/Makefile      Sun Jun 23 06:32:35 2002
|+++ libexec/rtld-elf/Makefile  Wed Oct  8 02:50:10 2003
--------------------------
File to patch:
Welches File soll ich da angeben?

- - - - -
Nutze FBSD 4.9
 
ich habe das vor 3 stunden unter 4.9 auch gemacht und es ging ohne probs, ich weiss ja nicht (bitte nicht lachen wenns falsch ist)
schreib mal
cd /usr/src *enter*
und dann patch...
ich weiss es könnte falsch sein, so genau hab ich mich da noch nie auseinander gesetzt ..... :D
 
Code:
File to patch: /usr/src
patch: **** /usr/src is not a normal file--can't patch
Ne, der will ja irgend ein File angegeben haben. Nur weiß ich nicht welches :/
 
na steht doch da:

Please apply on /usr/src and make install on /usr/src/libexec/rtld-elf:
# cd /usr/src ; patch -p0 < /tmp/libmap_4stable.diff
# cd libexec/rtld-elf ; make clean all install

also:

/usr/src/libexec/rtld-elf/Makefile
 
geh doch einfach in /usr/src und gib
patch -p0 < /tmp/libmap_4stable.diff
ein
und dann bei /usr/src/libexec/rtld-elf
einfach
make clean all install
losjagen

natürlich setzt das vorraus das
libmap_4stable.diff
in
/tmp
ist
 
So hatte ich das auch schon probiert. Hatte hier nur den "Standart"-Weg dargelegt. Funktioniert natürlich nicht. Es hängt immer bei der Angabe des Patch Files. Wenn ich ein Verzeichnis angebe, kommt als Kommentar "is not a normal file--can't patch".
 
ich habs grad nochmal auf ner anderen kiste gemacht, es geht garantiert, hab das erst ohne rootrechte gemacht, da hab ich die gleiche meldung bekommen, als root gehts dann
 
Habe es jetzt nochmal probiert
Code:
# cd /usr/ports/www/linuxpluginwrapper
# make install clean
Darauf bekomme ich die alt bekannte Meldung
Code:
Please enable libmap.conf(5) feature for rtld(1).
4-stable user:
        You can get a following patch.
        [url]http://people.FreeBSD.org/~nork/libmap_4stable.diff[/url]
   Please apply on /usr/src and make install on /usr/src/libexec/rtld-elf:
   # cd /usr/src ; patch -p0 < /tmp/libmap_4stable.diff
   # cd libexec/rtld-elf ; make clean all install
5.1-RELEASE user:
        Please see /usr/src/libexec/rtld-elf/Makefile.
*** Error code 1
 
Stop in /usr/ports/www/linuxpluginwrapper.
Ok, also patchen:
Code:
# cd /temp/
# fetch [url]http://people.FreeBSD.org/~nork/libmap_4stable.diff[/url]
# cd /usr/src && patch -p0 < /tmp/libmap_4stable.diff
Ok, dass hat geklappt! Nun...
Code:
# cd libexec/rtld-elf && make clean all install
Darauf hin bekomme ich eine Menge Fehlermeldungen:
Code:
{standard input}: Assembler messages:
{standard input}:817: Error: symbol `lm_init' is already defined
{standard input}:1162: Error: symbol `lm_free' is already defined
{standard input}:1218: Error: symbol `lm_fini' is already defined
{standard input}:1275: Error: symbol `lm_add' is already defined
{standard input}:1346: Error: symbol `lm_find' is already defined
{standard input}:1410: Error: symbol `lml_find' is already defined
{standard input}:1484: Error: symbol `lmp_find' is already defined
{standard input}:1558: Error: symbol `lmp_init' is already defined
{standard input}:1608: Error: symbol `lm_init' is already defined
{standard input}:1953: Error: symbol `lm_free' is already defined
{standard input}:2009: Error: symbol `lm_fini' is already defined
{standard input}:2066: Error: symbol `lm_add' is already defined
{standard input}:2137: Error: symbol `lm_find' is already defined
{standard input}:2201: Error: symbol `lml_find' is already defined
{standard input}:2275: Error: symbol `lmp_find' is already defined
{standard input}:2349: Error: symbol `lmp_init' is already defined
{standard input}:2399: Error: symbol `lm_init' is already defined
{standard input}:2744: Error: symbol `lm_free' is already defined
{standard input}:2800: Error: symbol `lm_fini' is already defined
{standard input}:2857: Error: symbol `lm_add' is already defined
{standard input}:2928: Error: symbol `lm_find' is already defined
{standard input}:2992: Error: symbol `lml_find' is already defined
{standard input}:3066: Error: symbol `lmp_find' is already defined
{standard input}:3140: Error: symbol `lmp_init' is already defined
*** Error code 1
 
Stop in /usr/src/libexec/rtld-elf.

Woran könnte das liegen?
 
Soo habe das auch mal getestet. Nach der Installation kommt ja die pkg message:

================================================================
** PLEASE REMOVE FOLLOWING LINES FROM %%X11BASE%%/bin/mozilla **

LD_PRELOAD=%%PREFIX%%/lib/pluginwrapper.so
export LD_PRELOAD

** PLEASE CHANGE FOLLOWING LINES FROM /etc/libmap.conf **
libpthread.so.0 liblthread.so.3
to
libpthread.so.0 pluginwrapper/flash6.so

================================================================


Setup your /etc/libmap.conf.
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
%%LIBMAPCONF%%
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

Now start browser and go to 'about:plugins' and the new plugins
are available

Was soll man damit anfangen?!!?!?
Fure mich macht das keinen Sinn.
Bin einfach hergegangen und habe dann die libmap.conf von Tulkas kopiert.
wenn ich firefox starte bekomme ich folgendes:

LoadPlugin: failed to initialize shared library /usr/local/lib/linux-flashplugin 6/libflashplayer.so [Shared object "liblstdc++.so.4" not found]
LoadPlugin: failed to initialize shared library /usr/local/Acrobat5/Browsers/int ellinux/nppdf.so [Shared object "libc.so.6" not found]
Exit 1

Also scheint er schon mal das laden zu wollen und kann nur nicht, weil die lib's nicht da sind.
Wo bekomm ich die her?

MFG

CAT
 
#pkg_info -W /usr/local/lib/liblstdc++.so.4
/usr/local/lib/liblstdc++.so.4 was installed by package linuxthreads-2.2.3_15

Also die erste fehlende Lib gehört zu /usr/ports/devel/linuxthreads, die zweite zum Acrobat Reader.
 
Ich habe ein Problem, dass in diesen Thread passt:
Ich würde gerne das Blackdown-Java als Plugin in einem Browser zum laufen bringen, vorzugsweise im Firefox bzw. Mozilla. Das native Java läuft zwar, aber es gibt einige Gründe für das Blackdown. Allerdings bekomme ich es weder mit der Linuxversion des Firebirds noch mit dem native Firefox und dem Linuxpluginwrapper zum laufen.
Gibt es da einen Trick? Hat jemand Erfahrungen damit?

Danke im voraus.

Grüße
Styx
 
Mein Flash habe ich zum laufen bewegen koennen. Keine Ahnung wie, aber das geht nun. problem ist noch immer das Java.

Bekomme folgende Meldung:

LoadPlugin: failed to initialize shared library /usr/X11R6/lib/firefox/lib/mozil la-1.6/plugins/java2/plugin/i386/ns600/libjavaplugin_oji.so [Shared object "libg tk-1.2.so.0" not found]
Exit 1

Nun die Datei, die er sucht gibt es auf meinem Rechner. Frage ist wo kann ich einstellen oder wie ist es moeglich dem zu sagen, wo er suchen soll?

CAT
 
cat1510 schrieb:
problem ist noch immer das Java.

Bekomme folgende Meldung:

LoadPlugin: failed to initialize shared library /usr/X11R6/lib/firefox/lib/mozil la-1.6/plugins/java2/plugin/i386/ns600/libjavaplugin_oji.so [Shared object "libg tk-1.2.so.0" not found]
Exit 1
CAT

Die Verlinkung ist falsch. Das Plugin muss in folgendes Verzeichnis:

/usr/X11R6/lib/browser_plugins

Dann klappts auch mit dem Java ;)
 
Hi

Bei mir klappt das flashplugin wunderbar, allerdings hab ich noch so meine Problemchen mit dem Java. Wenn ich mozilla von der Console aus starte, dann kommt folgende Fehlermeldung:

LoadPlugin: failed to initialize shared library /usr/local/linux-sun-jdk1.4.2/jre/plugin/i386/ns610/libjavaplugin_oji.so [Shared object "libdl.so.2" not found]

Was läuft da schief??
 
Zurück
Oben