Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Jun 2004 18:01:34 +0100
From:      Daniel Bye <daniel.bye@psineteurope.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Perl and linux emulation
Message-ID:  <20040608170134.GA48867@ip73.ops.uk.psi.com>
In-Reply-To: <20040608162729.GA16906@sol.aptsolutions.com>
References:  <20040608162729.GA16906@sol.aptsolutions.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040608170134.GA48867>