From owner-freebsd-questions@FreeBSD.ORG Sat Jun 24 15:11:27 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 5BB0A16A507 for ; Sat, 24 Jun 2006 15:11:27 +0000 (UTC) (envelope-from archwndas@yahoo.com) Received: from web55210.mail.re4.yahoo.com (web55210.mail.re4.yahoo.com [206.190.58.174]) by mx1.FreeBSD.org (Postfix) with SMTP id 2DD7843D5A for ; Sat, 24 Jun 2006 15:11:25 +0000 (GMT) (envelope-from archwndas@yahoo.com) Received: (qmail 23407 invoked by uid 60001); 24 Jun 2006 15:11:24 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=Yqr+CBOiyKztdtsVP22oKyEMv+YMM3EFoBn/Q3tpYwoA5sUJegSAgPk9ks/N2JInduymucRm2nqFx8cOvcHn2GfZjgCWdWUMHKY8Q9Ikw8ak2Z1FtBNv1XNjwUC3/kj2Nc6Cw6W5hoQV9Up0b2eKpcQogzncJSih3jdOyoP45/4= ; Message-ID: <20060624151124.23405.qmail@web55210.mail.re4.yahoo.com> Received: from [87.203.250.209] by web55210.mail.re4.yahoo.com via HTTP; Sat, 24 Jun 2006 08:11:24 PDT Date: Sat, 24 Jun 2006 08:11:24 -0700 (PDT) From: Simeon Nifos To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: howto convert Linux shared libraries foo.so to FreeBSD shared libraries 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: Sat, 24 Jun 2006 15:11:27 -0000 Does anybody know how to convert a shared object compiled in Linux foo-linux.so to a shared object compiled for FreeBSD freebsd-foo.so? I mean a freebsd-foo.so to which I can link with objects compiled by a native FreeBSD compiler. Or equivalently how to create a FreeBSD foo.so from a linux foo.so which would be identical to that which would be compiled from source in FreeBSD? I do not need to run a Linux binary. What I need to do is to link my object (.o) files compiled natively in FreeBSD with a foo.so which is a linux library. Thanks in advance! Simeon. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com