Linking amd64 binary with a 32-bit linux library

Kris Kennaway kris at FreeBSD.org
Thu Aug 7 18:03:57 UTC 2008


Maxim Khitrov wrote:

> I take it that this happens because libmat.so is a linux binary, but
> is there any way to do what I'm after?

You can't mix and match Linux and FreeBSD code in the same binary.  You 
will have to make a completely Linux binary, either by compiling on a 
Linux system, or by installing a Linux toolchain into a chroot and 
building there.

Kris


More information about the freebsd-questions mailing list