From owner-freebsd-emulation Fri Sep 7 8:22:52 2001 Delivered-To: freebsd-emulation@freebsd.org Received: from symbion.srrc.usda.gov (symbion.srrc.usda.gov [199.133.86.40]) by hub.freebsd.org (Postfix) with ESMTP id 0C0B837B407 for ; Fri, 7 Sep 2001 08:22:50 -0700 (PDT) Received: from node7.cluster.srrc.usda.gov (node7.cluster.srrc.usda.gov [192.168.1.7]) by symbion.srrc.usda.gov (8.11.6/8.11.6) with ESMTP id f87FMn711253 for ; Fri, 7 Sep 2001 10:22:49 -0500 (CDT) (envelope-from gjohnson@srrc.ars.usda.gov) Received: (from glenn@localhost) by node7.cluster.srrc.usda.gov (8.11.6/8.11.6) id f87FMnC38127 for freebsd-emulation@freebsd.org; Fri, 7 Sep 2001 10:22:49 -0500 (CDT) (envelope-from glenn) From: Glenn Johnson Date: Fri, 7 Sep 2001 10:22:49 -0500 To: freebsd-emulation@freebsd.org Subject: LD_PRELOAD and linux binaries Message-ID: <20010907102249.C37844@node7.cluster.srrc.usda.gov> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I have been playing around with gdkxft and so have the LD_PRELOAD environment variable set to point to the gdkxft library. The problem is with Linux programs which obviously can not link the FreeBSD library. The LD_PRELOAD environment variable needs to be unset to run these. For those Linux programs that use a wrapper script, such as netscape it is easy enough to just unset the variable in the wrapper script. The problem is with Linux programs that do not use a wrapper script. I know the wrapper scripts are trivial to write but it does not seem practical to write a wrapper for every such program. Does any one have an idea about what the cleanest way to handle this would be? Is it possible to have the linuxulator ignore attempts to link FreeBSD libraries? Thanks. -- Glenn Johnson USDA, ARS, SRRC Phone: (504) 286-4252 New Orleans, LA 70124 e-mail: gjohnson@srrc.ars.usda.gov To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message