Converting libfoo.so for linux to freebsd

Warner Losh imp at bsdimp.com
Tue Aug 9 20:53:47 GMT 2005


> On Tue, Aug 09, 2005 at 01:37:34PM -0600, M. Warner Losh wrote:
> > I have recently purcahsed a device that comes with a .so for linux,
> > but no sources.  Is there any way one can take an arbitrary linux .so
> > which appears to have no dependencies to a FreeBSD .so?  The binary
> > code is about 20k or so.
> > 
> > Alternatively, anybody know how to take a linux .so and generate a .s
> > that can be fed into the linux toolchain to generate a new .so...
> 
> Would it be acceptable to just build your binary as a linux one?  This
> would be easiest.

Does the Linux Sane work on FreeBSD?  I thought there were issues with
libusb that precluded that...

Warner


More information about the freebsd-hackers mailing list