This is a discussion on Re: Why does adding /usr/lib32 to LD_LIBRARY_PATH break 64-bit?binaries? - FreeBSD ; Daniel O'Connor wrote: > 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 ...
Daniel O'Connor wrote:
> 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..
You *can* link Linux libraries with FreeBSD binaries (and
vice versa), if the library does not perform any syscalls,
e.g. it is a pure computation library or similar.
> That said it would be really nice if it ignored incompatible libraries
No. Please don't put such pseudo-cleverness into rtld.
It wouldn't be an improvement, in fact it might break some
Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M.
Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung:
secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün-
chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart
FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd
"That's what I love about GUIs: They make simple tasks easier,
and complex tasks impossible."
-- John William Chambless
firstname.lastname@example.org mailing list
To unsubscribe, send any mail to "email@example.com"