From owner-freebsd-amd64@FreeBSD.ORG Sun Sep 2 12:50:07 2012 Return-Path: Delivered-To: freebsd-amd64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 40586106564A for ; Sun, 2 Sep 2012 12:50:07 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 13CBC8FC0C for ; Sun, 2 Sep 2012 12:50:07 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q82Co6gJ008531 for ; Sun, 2 Sep 2012 12:50:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q82Co6Ps008518; Sun, 2 Sep 2012 12:50:06 GMT (envelope-from gnats) Resent-Date: Sun, 2 Sep 2012 12:50:06 GMT Resent-Message-Id: <201209021250.q82Co6Ps008518@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, David Naylor Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6070B106564A for ; Sun, 2 Sep 2012 12:42:43 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 4BB7E8FC0A for ; Sun, 2 Sep 2012 12:42:43 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q82CghxD006817 for ; Sun, 2 Sep 2012 12:42:43 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id q82Cghfe006816; Sun, 2 Sep 2012 12:42:43 GMT (envelope-from nobody) Message-Id: <201209021242.q82Cghfe006816@red.freebsd.org> Date: Sun, 2 Sep 2012 12:42:43 GMT From: David Naylor To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 X-Mailman-Approved-At: Sun, 02 Sep 2012 12:58:14 +0000 Cc: Subject: amd64/171250: ldd32 cannot find some i386 libraries 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: Sun, 02 Sep 2012 12:50:07 -0000 >Number: 171250 >Category: amd64 >Synopsis: ldd32 cannot find some i386 libraries >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-amd64 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Sep 02 12:50:06 UTC 2012 >Closed-Date: >Last-Modified: >Originator: David Naylor >Release: FreeBSD 9 >Organization: >Environment: FreeBSD dragon.dg 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #0: Wed Aug 22 20:31:40 SAST 2012 root@dragon.dg:/tmp/home/freebsd9/src/sys/MODULAR amd64 >Description: ldd32 does not find libraries, yet ldconfig lists them as known. # ldconfig -32 -r | grep directories search directories: /usr/lib32:/usr/local/lib32:/usr/local/lib32/wine # ldconfig -32 -r | grep 'lssl.6\|iconv.3' 94:-lssl.6 => /usr/lib32/libssl.so.6 124:-liconv.3 => /usr/local/lib32/libiconv.so.3 # ldd32 /usr/local/lib32/libcups.so.2 /usr/local/lib32/libcups.so.2: libssl.so.6 => not found (0) libcrypto.so.6 => /usr/lib32/libcrypto.so.6 (0x281f4000) libcrypt.so.5 => /usr/lib32/libcrypt.so.5 (0x28351000) libm.so.5 => /usr/lib32/libm.so.5 (0x28376000) libiconv.so.3 => not found (0) libz.so.6 => /usr/lib32/libz.so.6 (0x28390000) libthr.so.3 => /usr/lib32/libthr.so.3 (0x283a4000) libc.so.7 => /usr/lib32/libc.so.7 (0x2806c000) >How-To-Repeat: Install wine-fbsd64 from www.mediafire.com/wine_fbsd64 and follow instructions above. >Fix: Explicitly include all library paths in LD_32_LIBRARY_PATH: # env LD_32_LIBRARY_PATH=/usr/local/lib32:/usr/lib32 ldd32 /usr/local/lib32/libcups.so.2 /usr/local/lib32/libcups.so.2: libssl.so.6 => /usr/lib32/libssl.so.6 (0x281f4000) libcrypto.so.6 => /usr/lib32/libcrypto.so.6 (0x2823d000) libcrypt.so.5 => /usr/lib32/libcrypt.so.5 (0x2839a000) libm.so.5 => /usr/lib32/libm.so.5 (0x283bf000) libiconv.so.3 => /usr/local/lib32/libiconv.so.3 (0x28800000) libz.so.6 => /usr/lib32/libz.so.6 (0x283d9000) libthr.so.3 => /usr/lib32/libthr.so.3 (0x288f8000) libc.so.7 => /usr/lib32/libc.so.7 (0x2806c000) >Release-Note: >Audit-Trail: >Unformatted: