From owner-freebsd-emulation@FreeBSD.ORG Sat Dec 1 16:30:57 2007 Return-Path: Delivered-To: emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2038C16A417; Sat, 1 Dec 2007 16:30:57 +0000 (UTC) (envelope-from gdt@ir.bbn.com) Received: from fnord.ir.bbn.com (fnord.ir.bbn.com [192.1.100.210]) by mx1.freebsd.org (Postfix) with ESMTP id E719F13C4E1; Sat, 1 Dec 2007 16:30:56 +0000 (UTC) (envelope-from gdt@ir.bbn.com) Received: by fnord.ir.bbn.com (Postfix, from userid 10853) id BFC4152A8; Sat, 1 Dec 2007 11:11:39 -0500 (EST) From: Greg Troxel To: Alexander Leidinger References: <1196470143.4750af7f6accf@webmail.rawbw.com> <20071201162930.5c9fd4dd@deskjail> X-Hashcash: 1:20:071201:emulation@freebsd.org::47o+jBV6eTN+Mg1E:00000000000000000000000000000000000000001qRf X-Hashcash: 1:20:071201:yuri@rawbw.com::uyTD/Ad6hQNU5q+c:0001bQj X-Hashcash: 1:20:071201:alexander@leidinger.net::JDc6McXYZmVnfOKQ:0000000000000000000000000000000000000066Xi X-Hashcash: 1:20:071201:freebsd-hackers@freebsd.org::uyTD/Ad6hQNU5q+c:0000000000000000000000000000000000JZoT Date: Sat, 01 Dec 2007 11:11:39 -0500 In-Reply-To: <20071201162930.5c9fd4dd@deskjail> (Alexander Leidinger's message of "Sat, 1 Dec 2007 16:29:30 +0100") Message-ID: User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: emulation@freebsd.org, freebsd-hackers@freebsd.org, Yuri Subject: Re: Linux executable picks up FreeBSD library over linux one and breaks 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, 01 Dec 2007 16:30:57 -0000 I had a Linux shared library problem on NetBSD that I think it might be helpful to mention. thunderbird (and firefox) set LD_LIBRARY_PATH to pick up their own modules. When acroread is invoked to display a pdf attachment, LD_LIBRARY_PATH is still set, and this causes acroread to read a BSD library. My workaround is to use a script for acroread that cleans the environment. I think this is a thunderbird bug; the environment of invoked programs should match the environment as of thunderbird's invocation.