From owner-freebsd-emulation Tue Aug 17 16:30:45 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from linum.cofc.edu (linum.cofc.edu [153.9.35.19]) by hub.freebsd.org (Postfix) with ESMTP id EE93F1585B for ; Tue, 17 Aug 1999 16:30:32 -0700 (PDT) (envelope-from astrand@linum.cofc.edu) Received: (from astrand@localhost) by linum.cofc.edu (8.9.3/8.9.2) id TAA01132; Tue, 17 Aug 1999 19:30:57 -0400 (EDT) (envelope-from astrand) To: Marcel Moolenaar Cc: freebsd-emulation@freebsd.org Subject: Re: linux emulation in 3.2 current References: <86aerq2p42.fsf@linum.cofc.edu> <37B9C7A1.926A64DC@scc.nl> From: Allan Strand Date: 17 Aug 1999 19:30:56 -0400 In-Reply-To: Marcel Moolenaar's message of "Tue, 17 Aug 1999 22:35:45 +0200" Message-ID: <86zozqc7db.fsf@linum.cofc.edu> Lines: 35 User-Agent: Gnus/5.070084 (Pterodactyl Gnus v0.84) XEmacs/20.4 (Emerald) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Marcel Moolenaar writes: > Allan Strand wrote: > > > The most obvious symptom is that linux elf programs run when > > I'm logged in as root, but they give a seg fault when run as a user. > > > > I've just today "made world" remade the kernel with > > > > options COMPAT_LINUX > > For starters, COMPAT_LINUX is obsoleted. Use the linux module. > > > From CVS tracked sources current as of last night. Does anyone have > > any suggestions? > > You have to be more specific. Preferably with traces. Also, your use of > -current is confusing, do you mean 3.2-STABLE or do you mean 4.0-CURRENT? I figured out the problem. I (the user, not root) had LD_LIBRARY_PATH defined in my environment and this was giving the dynamic linker problems. I eliminated the variable (although, I could have probably changed the search order) because it has been sitting in my .cshrc file for years and is seemingly unneeded. I must confess that I'm not sure what you mean by a trace. Does this mean ktrace the program, then post the results of kdump? By the way, FYI I am tracking 3.2-stable Thanks for your time. A. -- Allan E. Strand stranda@cofc.edu, http://linum.cofc.edu Department of Biology Phone: (843) 953-8085 College of Charleston Fax: (843) 953-5453 Charleston, SC 29424 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message