From owner-freebsd-amd64@FreeBSD.ORG Fri Nov 11 06:28: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 CA0A416A41F for ; Fri, 11 Nov 2005 06:28:38 +0000 (GMT) (envelope-from piett134@gmail.com) Received: from sccrmhc12.comcast.net (sccrmhc12.comcast.net [204.127.202.56]) by mx1.FreeBSD.org (Postfix) with ESMTP id 74F9E43D45 for ; Fri, 11 Nov 2005 06:28:38 +0000 (GMT) (envelope-from piett134@gmail.com) Received: from [192.168.1.20] (c-24-20-191-244.hsd1.wa.comcast.net[24.20.191.244]) by comcast.net (sccrmhc12) with ESMTP id <200511110604180120027d8me>; Fri, 11 Nov 2005 06:04:19 +0000 Message-ID: <43743466.2050909@gmail.com> Date: Thu, 10 Nov 2005 22:04:22 -0800 From: Kris Moore User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-amd64@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 06:28:38 -0000 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 > -- Kristofer Moore