From owner-freebsd-amd64@FreeBSD.ORG Mon Jan 9 22:00:17 2006 Return-Path: X-Original-To: freebsd-amd64@hub.freebsd.org Delivered-To: freebsd-amd64@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7B01816A41F for ; Mon, 9 Jan 2006 22:00:17 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B3A0643D4C for ; Mon, 9 Jan 2006 22:00:15 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k09M0FDe040844 for ; Mon, 9 Jan 2006 22:00:15 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k09M0F96040843; Mon, 9 Jan 2006 22:00:15 GMT (envelope-from gnats) Resent-Date: Mon, 9 Jan 2006 22:00:15 GMT Resent-Message-Id: <200601092200.k09M0F96040843@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-amd64@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Eric Allman Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D09E716A420 for ; Mon, 9 Jan 2006 21:59:40 +0000 (GMT) (envelope-from eric@knecht.neophilic.com) Received: from knecht.neophilic.com (dsl081-247-036.sfo1.dsl.speakeasy.net [64.81.247.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id E619B43D48 for ; Mon, 9 Jan 2006 21:59:39 +0000 (GMT) (envelope-from eric@knecht.neophilic.com) Received: from knecht.neophilic.com (localhost [127.0.0.1]) by knecht.neophilic.com (8.13.4/8.13.5) with ESMTP id k09LxVsD001284 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 9 Jan 2006 13:59:36 -0800 (PST) Received: (from eric@localhost) by knecht.neophilic.com (8.13.4/8.13.4/Submit) id k09LxVcA001283; Mon, 9 Jan 2006 13:59:31 -0800 (PST) (envelope-from eric) Message-Id: <200601092159.k09LxVcA001283@knecht.neophilic.com> Date: Mon, 9 Jan 2006 13:59:31 -0800 (PST) From: Eric Allman To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: amd64/91571: amd64 startup not initializing 32-bit librarys in ldconfig X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Eric Allman List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jan 2006 22:00:17 -0000 >Number: 91571 >Category: amd64 >Synopsis: amd64 startup not initializing 32-bit librarys in ldconfig >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-amd64 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Jan 09 22:00:14 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Eric Allman >Release: FreeBSD 6.0-STABLE amd64 >Organization: >Environment: System: FreeBSD knecht.neophilic.com 6.0-STABLE FreeBSD 6.0-STABLE #0: Sat Jan 7 14:01:13 PST 2006 root@newknecht.neophilic.com:/usr/obj/usr/src/sys/GENERIC amd64 >Description: It appears that the system startup scripts (notably /etc/rc.d/ldconfig) do not run a pass over the 32-bit libraries (e.g., /usr/lib32, /usr/local/lib32). As a result, 32-bit binaries immediately fail with "/usr/libexec/ld-elf.so.1: Shared object "libc.so.4" not found, required by ...". >How-To-Repeat: Start up the system. Execute a 32-bit binary. >Fix: Workaround is easy: hard-code the "ldconfig -32 ..." call in /etc/rc.local. True fix is probably to replicate /etc/rc.d/ldconfig into ldconfig32 and do a proper search there. Or maybe extend the existing script. >Release-Note: >Audit-Trail: >Unformatted: