Perl and linux emulation
daniel.bye at psineteurope.com
Tue Jun 8 10:01:49 PDT 2004
On Tue, Jun 08, 2004 at 11:27:29AM -0500, Jason Godfrey wrote:
> 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20040608/6601ff3b/attachment.bin
More information about the freebsd-questions