From owner-freebsd-emulation@FreeBSD.ORG Sat Dec 13 20:11:26 2008 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 70A931065675 for ; Sat, 13 Dec 2008 20:11:26 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id 13A8A8FC2F for ; Sat, 13 Dec 2008 20:11:26 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (pD9E2E4FD.dip.t-dialin.net [217.226.228.253]) by redbull.bpaserver.net (Postfix) with ESMTP id 3F1842E0BA; Sat, 13 Dec 2008 21:11:21 +0100 (CET) Received: from webmail.leidinger.net (webmail.leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id 3446118204A; Sat, 13 Dec 2008 21:11:16 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=Leidinger.net; s=outgoing-alex; t=1229199076; bh=ZBTDQ6tCRSqAITL7vtfjN4wCfyqxpd68E a3Yxg3jpSA=; h=Message-ID:Date:From:To:Cc:Subject:References: In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=vOaSIsR8XPjQG7zXoYgvNYJi606MQAPtvWkb0Z3Cu3KTYWRTHHbMRf80bSpijbZvK XsmSl3l8sWfdcoS2GP8USVtj3bmFVP6UM6dlNtfz2PmgSuYIDX6b6/witWSs/8D+Tmc tVsI0lmvM5HDPFdyJc7TyTuY49JJSI6T4+h6m9VXhBohEc36nFTOT3qwVIW7yqGX/Wy CcgPgji6NY07nhxiwMvpjAorM8emJMDkA6qkseoPjRJGujjuqcG/+xtExvHuWjUa4K1 F4bDEIWAJEJ8ilodFCuH8yokIvozdly8OAsWYvyoX7IvkuxdRnSJnVQi64+o36wyQVN uGvFff/2w== Received: (from www@localhost) by webmail.leidinger.net (8.14.3/8.13.8/Submit) id mBDKBFsA017830; Sat, 13 Dec 2008 21:11:15 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from Luna.Leidinger.net (Luna.Leidinger.net [192.168.2.100]) by webmail.leidinger.net (Horde Framework) with HTTP; Sat, 13 Dec 2008 21:11:15 +0100 Message-ID: <20081213211115.1274360bbklovuas@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Sat, 13 Dec 2008 21:11:15 +0100 From: Alexander Leidinger To: Bengt Ahlgren References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.3) / FreeBSD-8.0 X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: 3F1842E0BA.68E6F X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, ORDB-RBL, SpamAssassin (not cached, score=-13.504, required 6, BAYES_00 -15.00, DKIM_SIGNED 0.00, DKIM_VERIFIED -0.00, MIME_QP_LONG_LINE 1.40, RDNS_DYNAMIC 0.10) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: freebsd-emulation@freebsd.org, freebsd-stable@freebsd.org Subject: Re: Proper use of LD_LIBRARY_PATH for Linux progs? X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Dec 2008 20:11:26 -0000 Quoting Bengt Ahlgren (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