Date: Tue, 3 Jul 2007 03:04:10 GMT From: Jonathan Liu <Net147@hotmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/114229: [patch] [www/linuxpluginwrapper] libmap.conf-FreeBSD6 references old X11R6 directory Message-ID: <200707030304.l6334A75099421@www.freebsd.org> Resent-Message-ID: <200707030310.l633A45i078593@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 114229 >Category: ports >Synopsis: [patch] [www/linuxpluginwrapper] libmap.conf-FreeBSD6 references old X11R6 directory >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jul 03 03:10:03 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Jonathan Liu >Release: 6.2-RELEASE >Organization: >Environment: FreeBSD freebsd 6.2-RELEASE-p4 FreeBSD 6.2-RELEASE-p4 #0: Thu Apr 26 17:55:55 UTC 2007 root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/SMP i386 >Description: The sample libmap.conf-FreeBSD6 file references X11R6 however due to the introduction of modular X.Org 7.2, this is no longer correct. X11R6 should be changed to local. Even if a symbolic link from X11R6 to local exists, the wrapper doesn't work properly. >How-To-Repeat: Install firefox, linuxpluginwrapper, linux-realplayer. Copy sample /usr/local/share/examples/linuxpluginwrapper/libmap.conf-FreeBSD6 to /etc/libmap.conf. Create symbolic links for realplayer plug-in: ln -s /usr/local/lib/linux-mozilla/plugins/nphelix.so /usr/local/lib/browser_plugins/nphelix.so ln -s /usr/local/lib/linux-mozilla/plugins/nphelix.xpt /usr/local/lib/browser_plugins/nphelix.xpt Start firefox from an xterm window. The following error will come up: LoadPlugin: failed to initialize shared library /usr/local/lib/linux-mozilla/plugins/nphelix.so [Shared object "libm.so.6" not found, required by "nphelix.so"] A patch is included to replace patch-misc::libmap.conf-FreeBSD6. >Fix: --- libmap.conf-FreeBSD6.orig Sun Nov 13 12:46:14 2005 +++ libmap.conf-FreeBSD6 Tue Jul 3 12:43:54 2007 @@ -2,51 +2,31 @@ # $Id: libmap.conf-FreeBSD6,v 1.23 2005/11/13 01:46:14 nork Exp $ ####################################################### -# [ALPHA SUPPORT] Flash7 with Mozilla -[/usr/X11R6/lib/linux-flashplugin7/libflashplayer.so] +# Flash7 with Mozilla +[/usr/local/lib/npapi/linux-flashplugin/libflashplayer.so] libpthread.so.0 libpthread.so.2 libdl.so.2 pluginwrapper/flash7.so libz.so.1 libz.so.3 libm.so.6 libm.so.4 libc.so.6 pluginwrapper/flash7.so - ####################################################### -# Flash6 with Opera is not avilable. - -# Flash6 with Konqueror -# SEE ALSO: http://freebsd.kde.org/howtos/konqueror-flash.php -# This configuration was integrated to following one. - -# Flash6 with Mozilla/Firebird/Galeon/Epiphany/Konqueror/Kazehakase -[/usr/X11R6/lib/linux-flashplugin6/libflashplayer.so] -libpthread.so.0 pluginwrapper/flash6.so -libdl.so.2 pluginwrapper/flash6.so -libz.so.1 libz.so.3 -libstdc++-libc6.2-2.so.3 libstdc++.so.5 -libm.so.6 libm.so.4 -libc.so.6 pluginwrapper/flash6.so - - -####################################################### -# Acrobat5 with Mozilla/Firebird/Galeon/Epiphany/Konqueror/Kazehakase -[/usr/X11R6/Acrobat5/Browsers/intellinux/nppdf.so] -libc.so.6 pluginwrapper/acrobat.so - # Acrobat7 with Mozilla/Firebird/Galeon/Epiphany/Konqueror/Kazehakase -[/usr/compat/linux/usr/local/Adobe/Acrobat7.0/Browser/intellinux/nppdf.so] +[/usr/local/Adobe/Acrobat7.0/ENU/Browser/intellinux/nppdf.so] libc.so.6 pluginwrapper/acrobat.so # Japanese Acrobat7 with Mozilla/Firebird/Galeon/Epiphany/Konqueror/Kazehakase -[/usr/X11R6/Acrobat7/Browser/intellinux/nppdf.so] +[/usr/local/Acrobat7/Browser/intellinux/nppdf.so] libc.so.6 pluginwrapper/acrobat.so ####################################################### # Helix RealPlayer with Mozilla/Firebird/Galeon/Epiphany/Konqueror/Kazehakase -[/usr/X11R6/lib/linux-mozilla/plugins/nphelix.so] +[/usr/local/lib/linux-mozilla/plugins/nphelix.so] libstdc++.so.5 libstdc++.so.5 libc.so.6 pluginwrapper/realplayer.so +libm.so.6 libm.so.4 +libgcc_s.so.1 pluginwrapper/realplayer.so ####################################################### >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200707030304.l6334A75099421>