Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 May 2004 21:33:44 -0500
From:      Dan Nelson <dnelson@allantgroup.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Perl and Linux Compatibility
Message-ID:  <20040521023343.GC19455@dan.emsphone.com>
In-Reply-To: <20040521011437.GA22808@flatfoot.ca>
References:  <20040521011437.GA22808@flatfoot.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
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@allantgroup.com



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