amd64/171250: ldd32 cannot find some i386 libraries
David Naylor
naylor.b.david at gmail.com
Sun Sep 2 12:50:07 UTC 2012
>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 at 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:
More information about the freebsd-amd64
mailing list