Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 07 Aug 2008 20:03:53 +0200
From:      Kris Kennaway <kris@FreeBSD.org>
To:        Maxim Khitrov <mkhitrov@gmail.com>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: Linking amd64 binary with a 32-bit linux library
Message-ID:  <489B3909.6080702@FreeBSD.org>
In-Reply-To: <26ddd1750808071055i2b9976b3i4f347407d94a0813@mail.gmail.com>
References:  <26ddd1750808071055i2b9976b3i4f347407d94a0813@mail.gmail.com>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?489B3909.6080702>