Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Nov 2003 11:55:30 +0200
From:      Markus =?ISO-8859-15?Q?Niemist=F6?= <markus.niemisto@iki.fi>
To:        freebsd-hackers@freebsd.org
Subject:   Loading a shared Linux library from a FreeBSD program?
Message-ID:  <20031116115530.01e5be79.markus.niemisto@iki.fi>

next in thread | raw e-mail | index | archive | help
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=F6



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031116115530.01e5be79.markus.niemisto>