On Tue, Jun 08, 2004 at 11:27:29AM -0500, Jason Godfrey wrote:
> 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?

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

Attachment: pgp1LKUYU9wyy.pgp
Description: PGP signature

Reply via email to