From owner-freebsd-questions Wed Mar 5 5:59:33 2003 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 97B9D37B401 for ; Wed, 5 Mar 2003 05:59:32 -0800 (PST) Received: from mail.svenskabutiker.se (ns.svenskabutiker.se [212.247.101.67]) by mx1.FreeBSD.org (Postfix) with ESMTP id 628CC43FA3 for ; Wed, 5 Mar 2003 05:59:31 -0800 (PST) (envelope-from martin@filex.se) Received: from filex.se (h118n1fls31o985.telia.com [213.65.16.118]) by mail.svenskabutiker.se (Postfix) with ESMTP id 729221F02 for ; Wed, 5 Mar 2003 14:59:30 +0100 (CET) Message-ID: <3E66037C.8060209@filex.se> Date: Wed, 05 Mar 2003 15:02:36 +0100 From: Martin Nilsson User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3b) Gecko/20030210 X-Accept-Language: sv, en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Calling a Linux library from FreeBSD Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Is it possible to open and call functions in a static Linux library (.so) from a native FreeBSD program? I have tried with a small program that just dlopens the library but it doesn't work as i does with a FreeBSD .so (The Linuxulator is loaded) Why am I trying this? I got a couple of cheap Cryptoswift SSL accelerators off ebay and they only come with Linux drivers. The kernel driver seems simple enough to port but openssl communicates with the card thru a precompiled library that that I don't have the source for. Thanks for any help, Martin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message