From owner-freebsd-amd64@FreeBSD.ORG Fri Nov 11 19:31:38 2005 Return-Path: X-Original-To: freebsd-amd64@freebsd.org Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DEEC516A41F; Fri, 11 Nov 2005 19:31:38 +0000 (GMT) (envelope-from peter@wemm.org) Received: from canning.wemm.org (canning.wemm.org [192.203.228.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8D65843D45; Fri, 11 Nov 2005 19:31:38 +0000 (GMT) (envelope-from peter@wemm.org) Received: from fw.wemm.org (canning.wemm.org [192.203.228.65]) by canning.wemm.org (Postfix) with ESMTP id 6CF132A905; Fri, 11 Nov 2005 11:31:38 -0800 (PST) (envelope-from peter@wemm.org) Received: from overcee.wemm.org (overcee.wemm.org [10.0.0.3]) by fw.wemm.org (Postfix) with ESMTP id E887BE2B3; Fri, 11 Nov 2005 11:31:37 -0800 (PST) (envelope-from peter@wemm.org) Received: from overcee.wemm.org (localhost [127.0.0.1]) by overcee.wemm.org (8.13.4/8.13.4) with ESMTP id jABJVb8b014597; Fri, 11 Nov 2005 11:31:37 -0800 (PST) (envelope-from peter@wemm.org) Received: from localhost (localhost [[UNIX: localhost]]) by overcee.wemm.org (8.13.4/8.13.1/Submit) id jABJVbiA014596; Fri, 11 Nov 2005 11:31:37 -0800 (PST) (envelope-from peter@wemm.org) X-Authentication-Warning: overcee.wemm.org: peter set sender to peter@wemm.org using -f From: Peter Wemm To: freebsd-amd64@freebsd.org Date: Fri, 11 Nov 2005 11:31:36 -0800 User-Agent: KMail/1.8.1 References: <43743466.2050909@gmail.com> <43743CC5.9070801@freebsd.org> In-Reply-To: <43743CC5.9070801@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200511111131.36948.peter@wemm.org> Cc: Kris Moore , Paul Saab Subject: Re: Question about x64 and running x86 programs X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Nov 2005 19:31:39 -0000 On Thursday 10 November 2005 10:40 pm, Paul Saab wrote: > LD_32_LIBRARY_PATH ldconfig -32 /usr/lib32:/usr/X11R6/lib32:/usr/local/lib32 Actually, we need an hook in /etc/rc.d/ldconfig to set this automatically at boot time.. > Kris Moore wrote: > > The binaries are not running as setugid. The entire system is built > > with 64bit binaries and 64 bit libs. Then I am attemping to run a > > 32 bit binary on it. I have all the 32bit libraries also, and I can > > put them into a directory such as /usr/X11R6/lib32/*, but I just > > can not force the 32bit binary to look in that directory for its > > libraries. I keep thinking there has to be a 32LD_LIBRARY_PATH, or > > some other variable that I'm missing, but for the life of me, I > > can't find it. > > > > Joseph Koshy wrote: > >>> This does not work also, matter afact, it completely > >>> ignores the LD_LIBRARY_PATH variable like it doesnt exist. > >> > >> Check if a program is set[ug]id. Such programs ignore > >> LD_LIBRARY_PATH for security reasons. > >> > >>> /libexec/ld-elf.so.1: /usr/X11R6//lib/libqt-mt.so.3: > >>> unsupported file layout > >> > >> Are your X libraries 32 bit ones? > >> > >> -- > >> FreeBSD Volunteer, http://people.freebsd.org/~jkoshy > > _______________________________________________ > freebsd-amd64@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-amd64 > To unsubscribe, send any mail to > "freebsd-amd64-unsubscribe@freebsd.org" -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5