From owner-freebsd-ports Wed Sep 18 19: 0:15 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6E59037B401 for ; Wed, 18 Sep 2002 19:00:13 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 016C343E6A for ; Wed, 18 Sep 2002 19:00:11 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g8J20BCo049055 for ; Wed, 18 Sep 2002 19:00:11 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g8J20B6J049054; Wed, 18 Sep 2002 19:00:11 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 80B5537B401 for ; Wed, 18 Sep 2002 18:59:26 -0700 (PDT) Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id BCC5743E6E for ; Wed, 18 Sep 2002 18:59:24 -0700 (PDT) (envelope-from grog@lemis.com) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id 8CFA581301; Thu, 19 Sep 2002 11:29:20 +0930 (CST) Message-Id: <20020919015920.8CFA581301@wantadilla.lemis.com> Date: Thu, 19 Sep 2002 11:29:20 +0930 (CST) From: "Greg 'groggy' Lehey" Reply-To: "Greg 'groggy' Lehey" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/42941: mozilla does not install all necessary libraries Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 42941 >Category: ports >Synopsis: mozilla does not install all necessary libraries >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Sep 18 19:00:08 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Greg 'groggy' Lehey >Release: FreeBSD 5.0-CURRENT i386 >Organization: LEMIS (SA) Pty Ltd >Environment: System: FreeBSD nameless 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Tue Sep 17 01:28:02 GMT 2002 root@:/src/FreeBSD/5-CURRENT-WANTADILLA/src/sys/i386/compile/GENERIC i386 >Description: On starting mozilla, the following message appears: LoadPlugin: failed to initialize shared library /usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so [Cannot open "/usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so"] This is due to the lack of the Java Development kit. The port installs the following symlink, but it doesn't check for the existence of the library: /bin/ln -sf /usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so /usr/X11R6/lib/mozilla-devel/plugins/libjavaplugin_oji.so There is no indication of why this happens, or what to do about it. >How-To-Repeat: Install mozilla or mozilla-devel on a clean system. >Fix: The problem here seems to be that the Java library needs to be downloaded manually, due to the strange license requirements. I'd suggest: 1. Only create the symlink if the target file /usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so actually exists. 2. If it doesn't exist, print instructions for how to install it, and what the consequences will be if you don't. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message