From owner-freebsd-questions@FreeBSD.ORG Tue Jun 8 17:01:49 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 23DAF16A4CE for ; Tue, 8 Jun 2004 17:01:49 +0000 (GMT) Received: from md1.psixpress.com (md1.psixpress.com [154.32.105.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 58E8243D48 for ; Tue, 8 Jun 2004 17:01:48 +0000 (GMT) (envelope-from danielby@ip73.ops.uk.psi.com) Received: from ip73.ops.uk.psi.com (ip73.ops.uk.psi.com [154.8.22.73]) by md1.psixpress.com (MOS 3.4.4-GR) with ESMTP id BEP10099 (AUTH via LOGINBEFORESMTP); Tue, 8 Jun 2004 18:01:46 +0100 (BST) Received: from danielby by ip73.ops.uk.psi.com with local (Exim 4.34 (FreeBSD)) id 1BXjyg-000Ck7-BX for freebsd-questions@freebsd.org; Tue, 08 Jun 2004 18:01:34 +0100 Date: Tue, 8 Jun 2004 18:01:34 +0100 From: Daniel Bye To: freebsd-questions@freebsd.org Message-ID: <20040608170134.GA48867@ip73.ops.uk.psi.com> Mail-Followup-To: freebsd-questions@freebsd.org References: <20040608162729.GA16906@sol.aptsolutions.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="tKW2IUtsqtDRztdT" Content-Disposition: inline In-Reply-To: <20040608162729.GA16906@sol.aptsolutions.com> User-Agent: Mutt/1.4.2.1i Subject: Re: Perl and linux emulation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Daniel Bye List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jun 2004 17:01:49 -0000 --tKW2IUtsqtDRztdT Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 08, 2004 at 11:27:29AM -0500, Jason Godfrey wrote: > Hello. >=20 > 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: >=20 > Can't load '/usr/local/lib/perl5/site_perl/5.6.1/FDF.so' for module Acrob= at::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 >=20 >=20 > 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 p= erl > compiled as a linux binary? The best way to proceed, I suppose, would be to install the linux_base port. The lib you need is installed as part of it. To make it accessible, you may need to run ldconfig -elf -R /compat/linux/lib after installation. HTH Dan --tKW2IUtsqtDRztdT Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAxfDu31B8YuHL9ZwRAjc6AKDSQUInbHCmLObEKB+q5fI/mh0jKwCgmHY/ 3fz5jTTwGQ8g/iBSw0z0XE4= =aPip -----END PGP SIGNATURE----- --tKW2IUtsqtDRztdT--