From girgen@palle.girgensohn.se  Wed Aug  1 20:11:29 2001
Return-Path: <girgen@palle.girgensohn.se>
Received: from palle.girgensohn.se (c213.89.167.190.cm-upc.chello.se [213.89.167.190])
	by hub.freebsd.org (Postfix) with ESMTP
	id 1B08837B401; Wed,  1 Aug 2001 20:11:28 -0700 (PDT)
	(envelope-from girgen@palle.girgensohn.se)
Received: (from girgen@localhost)
	by palle.girgensohn.se (8.11.3/8.11.3) id f723BPB13534;
	Thu, 2 Aug 2001 05:11:25 +0200 (CEST)
	(envelope-from girgen)
Message-Id: <200108020311.f723BPB13534@palle.girgensohn.se>
Date: Thu, 2 Aug 2001 05:11:25 +0200 (CEST)
From: girgen@partitur.se
Reply-To: girgen@partitur.se
To: FreeBSD-gnats-submit@freebsd.org
Cc: sada@freebsd.org
Subject: linux-netscape need plugin path set
X-Send-Pr-Version: 3.113
X-GNATS-Notify: sada@FreeBSD.org

>Number:         29378
>Category:       ports
>Synopsis:       linux-netscape need plugin path set
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    sada
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 01 20:20:00 PDT 2001
>Closed-Date:    Sun Aug 5 10:46:56 PDT 2001
>Last-Modified:  Sun Aug 05 10:47:16 PDT 2001
>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:
Responsible-Changed-From-To: freebsd-ports->sada 
Responsible-Changed-By: knu 
Responsible-Changed-When: Thu Aug 2 17:51:05 JST 2001 
Responsible-Changed-Why:  
Over to maintainer. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=29378 
State-Changed-From-To: open->closed 
State-Changed-By: sada 
State-Changed-When: Sun Aug 5 10:46:56 PDT 2001 
State-Changed-Why:  
Committed, thanks. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=29378 
>Unformatted:
