From owner-freebsd-amd64@FreeBSD.ORG Fri Sep 15 23:49:07 2006 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 AC5F016A403 for ; Fri, 15 Sep 2006 23:49:07 +0000 (UTC) (envelope-from nathanw@uchicago.edu) Received: from vms048pub.verizon.net (vms048pub.verizon.net [206.46.252.48]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7237B43D45 for ; Fri, 15 Sep 2006 23:49:07 +0000 (GMT) (envelope-from nathanw@uchicago.edu) Received: from [192.168.0.100] ([68.160.49.153]) by vms048.mailsrvcs.net (Sun Java System Messaging Server 6.2-4.02 (built Sep 9 2005)) with ESMTPA id <0J5N004JKRHHK0M0@vms048.mailsrvcs.net> for freebsd-amd64@freebsd.org; Fri, 15 Sep 2006 18:48:54 -0500 (CDT) Date: Fri, 15 Sep 2006 19:48:54 -0400 From: Nathan Whitehorn To: freebsd-amd64@freebsd.org Message-id: MIME-version: 1.0 (Apple Message framework v752.2) X-Mailer: Apple Mail (2.752.2) Content-type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-transfer-encoding: 7bit Subject: Running 32-bit apps 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, 15 Sep 2006 23:49:07 -0000 I'm trying to run 32bit ghostscript on my amd64 machine. However, it and any ia32 binary that links to any library in /usr/local gives an error like this: /libexec/ld-elf.so.1: /usr/local/lib/libjpeg.so.9: unsupported file layout Binaries that link to only libs in the base system work fine. In addition, if I run ldconfig -32 and clear all ldconfig paths for 32bit binaries (checked that they're gone), such binaries still work! It seems as though changing ldconfig has, in fact, no actual effect on anything. After attempting to configure it properly, ldconfig -32 -r gives: /var/run/ld-elf32.so.hints: search directories: /usr/lib32:/usr/X11R6/lib32:/usr/local/ lib32 0:-lcom_err.3 => /usr/lib32/libcom_err.so.3 1:-lcrypt.3 => /usr/lib32/libcrypt.so.3 [...] 133:-ljpeg.9 => /usr/local/lib32/libjpeg.so.9 Any ideas? -Nathan