From owner-freebsd-questions@FreeBSD.ORG Mon Aug 22 23:22:21 2005 Return-Path: X-Original-To: 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 CC18F16A41F for ; Mon, 22 Aug 2005 23:22:21 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from fileserver.fields.utoronto.ca (fileserver.fields.utoronto.ca [128.100.216.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 61A9543D45 for ; Mon, 22 Aug 2005 23:22:21 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from fields.fields.utoronto.ca (fields.localdomain [192.168.216.11]) by fileserver.fields.utoronto.ca (8.12.8/8.12.8/Fields 6.0) with ESMTP id j7MNMKvf020317 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 22 Aug 2005 19:22:20 -0400 Received: from obsecurity.dyndns.org (localhost.localdomain [127.0.0.1]) by fields.fields.utoronto.ca (8.12.8/8.12.8/Fields WS 6.0) with ESMTP id j7MNMK6P016176; Mon, 22 Aug 2005 19:22:20 -0400 Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 4A793512F0; Mon, 22 Aug 2005 19:22:20 -0400 (EDT) Date: Mon, 22 Aug 2005 19:22:20 -0400 From: Kris Kennaway To: Chicky ShnoodleSoup Message-ID: <20050822232220.GA28675@xor.obsecurity.org> References: <8eebe4390508221620393d8f86@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Dxnq1zWXvFF0Q93v" Content-Disposition: inline In-Reply-To: <8eebe4390508221620393d8f86@mail.gmail.com> User-Agent: Mutt/1.4.2.1i Cc: questions@FreeBSD.org Subject: Re: how to use linux .so in freebsd application 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, 22 Aug 2005 23:22:22 -0000 --Dxnq1zWXvFF0Q93v Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Aug 22, 2005 at 04:20:50PM -0700, Chicky ShnoodleSoup wrote: > Hi, >=20 > Thanks to the linux binary compatibility > (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/linuxemu-lbc-i= nstall.html), > I am able to run a linux application using the linux dynamic library > on a freebsd machine. >=20 > Now I am trying to get a freebsd application (same application but > compiled on freebsd) using the linux .so (don't have the source to > compile it on freebsd) running on freebsd. >=20 > Is that possible? if yes, how to do it? > How to tell the compiler to use freebsd libraries for the application > and the linux ones for the linux .so? This was recently discussed here and on -hackers. Kris --Dxnq1zWXvFF0Q93v Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDCl4sWry0BWjoQKURAhu8AKCrqqt+5LR/m7IcdRGP2IWPlBZVBgCeMtQh b+UMwpOk18iEkhB/c8aRO+w= =BDhX -----END PGP SIGNATURE----- --Dxnq1zWXvFF0Q93v--