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

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Aug 7, 2008 at 2:03 PM, Kris Kennaway <kris@freebsd.org> wrote:
> 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
>

I thought so. In that case, if I need to have this library loaded by
mod_ruby, and mod_ruby loaded by apache, I take it that I will have to
recompile all of these as linux binaries if I want to interface with
matlab? I guess I should have thought about this first. :-\

- Max



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