Perl and Linux Compatibility

Dan Nelson dnelson at allantgroup.com
Thu May 20 19:36:11 PDT 2004


In the last episode (May 20), Brian Minard said:
> I am trying to use a Perl Module which depends upon a shared library.
> This shared library is compiled for Linux. The the linux_base-7.1_7
> port contains the dependencies for this library.
> 
> Can anyone tell me if it's possible to have Perl 5.8 (built for
> FreeBSD 4.9) run a Perl Module with this kind of dependency? If not,
> what's the best way around this problem?

No; FreeBSD and Linux binaries cannot use each other's shared modules
(XFree86 modules being an exception since they use a special OS-neutral
loader).  You will need to get a FreeBSD version of that shared
library, or build/install a Linux version of Perl and use that.

-- 
	Dan Nelson
	dnelson at allantgroup.com


More information about the freebsd-questions mailing list