From owner-freebsd-questions@FreeBSD.ORG Tue Jun 8 16:25:12 2004 Return-Path: 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 6774E16A4CE for ; Tue, 8 Jun 2004 16:25:12 +0000 (GMT) Received: from sol.aptsolutions.com (eclipse.aptsolutions.com [63.231.253.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id DADF343D60 for ; Tue, 8 Jun 2004 16:25:11 +0000 (GMT) (envelope-from godfrey@sol.aptsolutions.com) Received: from sol.aptsolutions.com (localhost.aptsolutions.com [127.0.0.1]) by sol.aptsolutions.com (8.12.9/8.12.9) with ESMTP id i58GRUcg016980 for ; Tue, 8 Jun 2004 11:27:30 -0500 (CDT) (envelope-from godfrey@sol.aptsolutions.com) Received: (from godfrey@localhost) by sol.aptsolutions.com (8.12.9/8.12.9/Submit) id i58GRTDv016979 for freebsd-questions@freebsd.org; Tue, 8 Jun 2004 11:27:29 -0500 (CDT) Date: Tue, 8 Jun 2004 11:27:29 -0500 From: Jason Godfrey To: freebsd-questions@freebsd.org Message-ID: <20040608162729.GA16906@sol.aptsolutions.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Subject: Perl and linux emulation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jun 2004 16:25:12 -0000 Hello. I have a perl module (Adobe's FDF toolkit) that uses two .so files as part of it's magic. These files come precompiled for Linux. Not surprisingly, when I try to do a perl "use" on the module I get an error like this: Can't load '/usr/local/lib/perl5/site_perl/5.6.1/FDF.so' for module Acrobat::FDF: Shared object "libc.so.6" not found at /usr/local/lib/perl5/5.6.1/i386-freebsd/DynaLoader.pm line 206. at /usr/local/lib/perl5/5.6.1/Acrobat/FDF.pm line 741 Is there a way to use a Linux compiled .so file with the a perl compiled for FreeBSD? If not, does anyone know of a way to easily install a seperate perl compiled as a linux binary? Thanks - Jason