From owner-freebsd-openoffice@FreeBSD.ORG Tue Oct 3 23:44:52 2006 Return-Path: X-Original-To: openoffice@freebsd.org Delivered-To: freebsd-openoffice@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CD1FF16A403 for ; Tue, 3 Oct 2006 23:44:52 +0000 (UTC) (envelope-from kabaev@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.233]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9C00543D69 for ; Tue, 3 Oct 2006 23:44:43 +0000 (GMT) (envelope-from kabaev@gmail.com) Received: by wx-out-0506.google.com with SMTP id i27so2234911wxd for ; Tue, 03 Oct 2006 16:44:43 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer:mime-version:content-type; b=Dgld5jgxXh4w0XLSfHLD0lUkoLUEi+424mmIfPEqjF1hqAmgxWU7gyHWp7rU90loFsyfTkU3BNtHsrQ8Ccs25tpSaQh+HRkoF+/n86l2h4kltSBmgbhzrTLTSZLCTV0PnxpmxZdPeurxlBbQQueF4T7vtf7MTyEFX6YCP5eu1PQ= Received: by 10.70.44.4 with SMTP id r4mr9918943wxr; Tue, 03 Oct 2006 16:44:42 -0700 (PDT) Received: from kan.dnsalias.net ( [24.63.93.195]) by mx.gmail.com with ESMTP id h11sm11653231wxd.2006.10.03.16.44.41; Tue, 03 Oct 2006 16:44:42 -0700 (PDT) Date: Tue, 3 Oct 2006 19:44:36 -0400 From: Alexander Kabaev To: NAKATA Maho Message-ID: <20061003194436.7c7f4500@kan.dnsalias.net> In-Reply-To: <20061003.173303.32717938.chat95@mac.com> References: <200610021051.k92ApQTL099708@freefall.freebsd.org> <20061003.094837.118629176.chat95@mac.com> <200610030655.48573.mihnea_capraru@fastmail.fm> <20061003.173303.32717938.chat95@mac.com> X-Mailer: Sylpheed-Claws 2.5.2 (GTK+ 2.8.20; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: multipart/signed; boundary=Sig_vap3wgq+cmz1MuFggpBFhEv; protocol="application/pgp-signature"; micalg=PGP-SHA1 Cc: mihnea_capraru@fastmail.fm, openoffice@freebsd.org, freebsd-ports-bugs@freebsd.org Subject: Re: ports/103896: OO.o port should add /program to LD_LIBRARY_PATH X-BeenThere: freebsd-openoffice@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting OpenOffice to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Oct 2006 23:44:53 -0000 --Sig_vap3wgq+cmz1MuFggpBFhEv Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Tue, 03 Oct 2006 17:33:03 +0900 (JST) NAKATA Maho wrote: > 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 >=20 > > 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). > >=20 > > 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?). =09 >=20 > 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. >=20 > thanks, > -- NAKATA, Maho (maho@FreeBSD.org) > =20 > _______________________________________________ > freebsd-openoffice@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-openoffice > To unsubscribe, send any mail to > "freebsd-openoffice-unsubscribe@freebsd.org" 1. $ORIGIN is NOT supported by rtld, so adding it would be a waste of time. 2. If OO was built by GCC from ports, it will depend on libgcc_s.so.1, we do not set LD_LIBRARY_PATH/rpath to help OO so find it at the moment. --=20 Alexander Kabaev --Sig_vap3wgq+cmz1MuFggpBFhEv Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFIvXnQ6z1jMm+XZYRAihEAKCk+2uQPfgnyRK/V8XRpU6YG0aVaACg5hxb E+Ha48WEmDXffKWisnYQLzY= =zCkR -----END PGP SIGNATURE----- --Sig_vap3wgq+cmz1MuFggpBFhEv--