From owner-freebsd-questions@FreeBSD.ORG Mon Aug 22 23:20:51 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 A5DB516A41F for ; Mon, 22 Aug 2005 23:20:51 +0000 (GMT) (envelope-from chickyshnoodlesoup@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 47BB443D45 for ; Mon, 22 Aug 2005 23:20:50 +0000 (GMT) (envelope-from chickyshnoodlesoup@gmail.com) Received: by xproxy.gmail.com with SMTP id i27so299762wxd for ; Mon, 22 Aug 2005 16:20:50 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=nud3DKmpSl/GskmJ37psclwnmJESDMb+xaqm30s9c7C8BBQ76gDtYw/ETRTp3o9CMPDlf1Wd0G3E7saHiabhe/NJPIFJHhlTwSTznaYvJombFH9qUdJRrh+TQ1Cdm4itf+JRBvP0cF4fNHkSLXBzZbMGLiKUw31BasuVRkxrs7M= Received: by 10.70.22.5 with SMTP id 5mr35553wxv; Mon, 22 Aug 2005 16:20:50 -0700 (PDT) Received: by 10.70.18.4 with HTTP; Mon, 22 Aug 2005 16:20:50 -0700 (PDT) Message-ID: <8eebe4390508221620393d8f86@mail.gmail.com> Date: Mon, 22 Aug 2005 16:20:50 -0700 From: Chicky ShnoodleSoup To: questions@FreeBSD.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Cc: Subject: 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:20:51 -0000 Hi, Thanks to the linux binary compatibility (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/linuxemu-lbc-ins= tall.html), I am able to run a linux application using the linux dynamic library on a freebsd machine. 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. 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? Thanks, C