Date: Tue, 3 Oct 2006 19:44:36 -0400 From: Alexander Kabaev <kabaev@gmail.com> To: NAKATA Maho <chat95@mac.com> Cc: mihnea_capraru@fastmail.fm, openoffice@freebsd.org, freebsd-ports-bugs@freebsd.org Subject: Re: ports/103896: OO.o port should add <OO_DIR>/program to LD_LIBRARY_PATH 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>
next in thread | previous in thread | raw e-mail | index | archive | help
--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 <chat95@mac.com> wrote: > From: Mihnea Capraru <mihnea_capraru@fastmail.fm> > Subject: Re: ports/103896: OO.o port should add <OO_DIR>/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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061003194436.7c7f4500>