Loading a shared Linux library from a FreeBSD program?

MarkusNiemistö markus.niemisto at iki.fi
Sun Nov 16 01:55:32 PST 2003


Hi,

Is there any way to load a shared Linux library from a FreeBSD program?
I need to get one freeware (but not open source) library only
available for Linux working with my native FreeBSD program. I hear there
is somekind of a wrapper for Linux browser plugins. What kind of
technique it uses?

I believe I should first load Linux' libc and then the library I need.
Could this work? And can I just dlopen /compat/linux/libc.so.6?

Thanks,
Markus Niemistö


More information about the freebsd-hackers mailing list