Why does adding /usr/lib32 to LD_LIBRARY_PATH break 64-bit
binaries?
Daniel O'Connor
doconnor at gsoft.com.au
Fri Oct 24 16:50:40 PDT 2008
On Friday 24 October 2008 23:20:59 Peter Jeremy wrote:
> >this will make system trying to bind 32-bit libs to 64-bit program. it
> >can't work
>
> rtld shouldn't attempt to bind 32-bit libs to 64-bit programs.
The same problem happens with the Linux run time linker - it merrily tries to
link FreeBSD libraries to Linux binaries with predictable results..
One trick I use for that is to put a symlink in /compat/linux in the place the
problematic FreeBSD library is..
That said it would be really nice if it ignored incompatible libraries :)
--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
-- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20081024/d73d9494/attachment.pgp
More information about the freebsd-questions
mailing list