From owner-freebsd-questions@FreeBSD.ORG Mon Apr 10 15:57:42 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 52ACA16A40D for ; Mon, 10 Apr 2006 15:57:42 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id A2F4743D6B for ; Mon, 10 Apr 2006 15:57:38 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 7A9FE1A4E5D; Mon, 10 Apr 2006 08:57:38 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id D7B7851570; Mon, 10 Apr 2006 11:57:37 -0400 (EDT) Date: Mon, 10 Apr 2006 11:57:37 -0400 From: Kris Kennaway To: Premal Mishra Message-ID: <20060410155737.GA47470@xor.obsecurity.org> References: <2211edca0604092303w2b5649a4uc5a4e2442cb0a882@mail.gmail.com> <20060409234639.H34203@spirou> <2211edca0604092358i5325b60ap3a593f1e3ff62d6@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="HlL+5n6rz5pIUxbD" Content-Disposition: inline In-Reply-To: <2211edca0604092358i5325b60ap3a593f1e3ff62d6@mail.gmail.com> User-Agent: Mutt/1.4.2.1i Cc: freebsd-questions@freebsd.org Subject: Re: Linker Error: undefined reference to __ctype_b X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Apr 2006 15:57:42 -0000 --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--