Date: Thu, 2 Aug 2001 05:11:25 +0200 (CEST) From: girgen@partitur.se To: FreeBSD-gnats-submit@FreeBSD.org Cc: sada@FreeBSD.org Subject: ports/29378: linux-netscape need plugin path set Message-ID: <200108020311.f723BPB13534@palle.girgensohn.se>
next in thread | raw e-mail | index | archive | help
>Number: 29378 >Category: ports >Synopsis: linux-netscape need plugin path set >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Wed Aug 01 20:20:00 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Palle Girgensohn >Release: FreeBSD 4.3-STABLE i386 >Organization: Partitur >Environment: System: FreeBSD palle.girgensohn.se 4.3-STABLE FreeBSD 4.3-STABLE #0: Sat May 19 03:59:57 CEST 2001 girgen@palle.girgensohn.se:/usr/obj/usr/src/sys/STORDATAN i386 >Description: The linux netscape is installed into $prefix/lib/netscape-linux, not to interfere with the native netscape. If both are installed, I get this: ERROR: /usr/local/lib/netscape/plugins/libnullplugin.so: invalid ELF header when running netscape-linux. It seems to also impair the use of plugins under certain circumstances. Even though MOZILLA_HOME is set, netscape looks in /usr/local/lib/netscape/plugins for plugins, no matter what, unless NPX_PLUGIN_PATH is set. >How-To-Repeat: install linux-netscape and native netscape. start netscape-linux. >Fix: This can be fixed by setting the plugin path in the startup script: Index: files/netscape.sh =================================================================== RCS file: /home/ncvs/ports/www/netscape4-communicator/files/netscape.sh,v retrieving revision 1.11 diff -u -u -r1.11 netscape.sh --- files/netscape.sh 1999/07/01 23:36:29 1.11 +++ files/netscape.sh 2001/08/02 03:01:40 @@ -1,5 +1,6 @@ #!/bin/sh export MOZILLA_HOME; MOZILLA_HOME=${MOZILLA_HOME:=@PREFIX@/@NSUBDIR@} +export NPX_PLUGIN_PATH; NPX_PLUGIN_PATH=${MOZILLA_HOME}/plugins export CLASSPATH ; CLASSPATH=.:$MOZILLA_HOME export XCMSDB; XCMSDB=/dev/null ulimit -c 0 >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200108020311.f723BPB13534>