Date: Sat, 13 Dec 2008 21:11:15 +0100 From: Alexander Leidinger <Alexander@Leidinger.net> To: Bengt Ahlgren <bengta@sics.se> Cc: freebsd-emulation@freebsd.org, freebsd-stable@freebsd.org Subject: Re: Proper use of LD_LIBRARY_PATH for Linux progs? Message-ID: <20081213211115.1274360bbklovuas@webmail.leidinger.net> In-Reply-To: <uh7fxktvabe.fsf@P142.sics.se> References: <uh7fxktvabe.fsf@P142.sics.se>
next in thread | previous in thread | raw e-mail | index | archive | help
Quoting Bengt Ahlgren <bengta@sics.se> (from Fri, 12 Dec 2008 13:37:25 +0100= ): > The reason is that the acroread launch script sets LD_LIBRARY_PATH > which is propagated to its childs. See this PR: > > http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dports/129553 > Question 2: what is the "proper" way to fix this problem? > (specifically for acroread8, but also in general.) Search the archive for the ports mailinglist, in the mail =20 "print/acroread8: LD_LIBRARY_PATH breaks helper programs" is a fix for =20 the problem. In general: there's no general fix. It all depends why LD_LIBRARY_PATH =20 is used and what is done. There are multiple ways, some are =20 workarounds ("env LD_LIBRARY_PATH=3D'' lpr ..." ), some (like the one =20 for acroread in the mail) are good fixes. Bye, Alexander. --=20 Disclose classified information only when a NEED TO KNOW exists. http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081213211115.1274360bbklovuas>