From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Oct 3 08:33:26 2006 Return-Path: X-Original-To: freebsd-ports-bugs@freebsd.org Delivered-To: freebsd-ports-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 802A416A416 for ; Tue, 3 Oct 2006 08:33:26 +0000 (UTC) (envelope-from maho.nakata@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.178]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9421743D5F for ; Tue, 3 Oct 2006 08:33:25 +0000 (GMT) (envelope-from maho.nakata@gmail.com) Received: by py-out-1112.google.com with SMTP id o67so2760002pye for ; Tue, 03 Oct 2006 01:33:25 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:message-id:to:cc:subject:from:in-reply-to:references:x-mailer:mime-version:content-type:content-transfer-encoding:sender; b=Fs0RqfA0AA6km4xiQ5JTLksHJR+WPvyqwzGSR8zQMFJjj4THl6Xu3cE873ZZwZs1hxZkBXvV6UA6Tbk9MRt5ckz7krr1BjnNcUDVADLoc4iYAGZQgxx4G8KCXkBybquksWiLeVtmvVMcA0OZEaFAlOSdgITU8NvL6mXyQzApKI4= Received: by 10.35.37.13 with SMTP id p13mr9409443pyj; Tue, 03 Oct 2006 01:33:24 -0700 (PDT) Received: from localhost ( [133.11.172.102]) by mx.gmail.com with ESMTP id 10sm957699nzo.2006.10.03.01.33.22; Tue, 03 Oct 2006 01:33:24 -0700 (PDT) Date: Tue, 03 Oct 2006 17:33:03 +0900 (JST) Message-Id: <20061003.173303.32717938.chat95@mac.com> To: mihnea_capraru@fastmail.fm From: NAKATA Maho In-Reply-To: <200610030655.48573.mihnea_capraru@fastmail.fm> References: <200610021051.k92ApQTL099708@freefall.freebsd.org> <20061003.094837.118629176.chat95@mac.com> <200610030655.48573.mihnea_capraru@fastmail.fm> X-Mailer: Mew version 5.1 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: Maho NAKATA Cc: freebsd-ports-bugs@freebsd.org, openoffice@freebsd.org Subject: Re: ports/103896: OO.o port should add /program to LD_LIBRARY_PATH X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Oct 2006 08:33:26 -0000 From: Mihnea Capraru Subject: Re: ports/103896: OO.o port should add /program to LD_LIBRARY_PATH Date: Tue, 03 Oct 2006 06:55:48 +0000 > Right. What I meant is that LD_LIBRARY_PATH is not set automatically when > running a UNO application written in Java that needs to bootstrap > OpenOffice.org. Since soffice would only be run at this point (at bootstrap), > the JVM will never even be able to find soffice > in /usr/local/openoffice-***/program, because this entry would only be added > to LD_LIBRARY_PATH by soffice itself (and this is circular). > > This is why I was suggesting to update system-wide LD_LIBRARY_PATH. But if > this is considered too intrusive, then perhaps install a symlink to soffice > in /usr/local/lib (libexec?). First of all adding LD_LIBRARY_PATH is harmful. Such patch (simply adding globally LD_LIBRARY_PATH) will never be integrated. And I think if we use $ORIGIN, such kind of problem will disapper. Currently we are working at this implementation. Hope 6.3 will include this. thanks, -- NAKATA, Maho (maho@FreeBSD.org)