Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Apr 2006 11:57:37 -0400
From:      Kris Kennaway <kris@obsecurity.org>
To:        Premal Mishra <premal.mishra@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Linker Error: undefined reference to __ctype_b
Message-ID:  <20060410155737.GA47470@xor.obsecurity.org>
In-Reply-To: <2211edca0604092358i5325b60ap3a593f1e3ff62d6@mail.gmail.com>
References:  <2211edca0604092303w2b5649a4uc5a4e2442cb0a882@mail.gmail.com> <20060409234639.H34203@spirou> <2211edca0604092358i5325b60ap3a593f1e3ff62d6@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--HlL+5n6rz5pIUxbD
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Apr 10, 2006 at 12:28:26PM +0530, Premal Mishra wrote:
> Hi,
>=20
> Ya, am trying to link against a linux library on FreeBSD.
>=20
> Is it not possible to use it?

You cannot mix and match FreeBSD and Linux libraries.  You can however
*run* your pre-compiled Linux binary, and it is possible to also
compile a Linux binary on FreeBSD (install the linux_devtools port and
then chroot to /compat/linux, then compile it "as normal"; you may
need to add additional RPM packages.)

Kris

--HlL+5n6rz5pIUxbD
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (FreeBSD)

iD8DBQFEOoBxWry0BWjoQKURAkyDAJ4j3IbZoZwO031gFdX4+PJTUbMcbgCg6oHE
ghSsk8kXxt/zZmUB1xMGG64=
=u+KK
-----END PGP SIGNATURE-----

--HlL+5n6rz5pIUxbD--



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