COMPAT_IA32 & COMPAT_FREEBSD5

Andrew P. infofarmer at gmail.com
Wed Nov 16 19:08:48 GMT 2005


On 11/16/05, Ian Lord <lordi at msdi.ca> wrote:
> Hi,
>
> I am running freebsd 6 AMD64
>
> I compiled my kernel with the following options:
> options         COMPAT_IA32             # Compatible with i386 binaries
> options         COMPAT_FREEBSD5         # Compatible with FreeBSD5
>
> However, I am trying to run an application which
> has been compiled for freebsd 5.x IA32
>
> I get the following error:
> Unable to load dynamic library
> '/usr/local/lib/php/20041030/libpdf_php.so' - /usr/
> local/lib/php/20041030/libpdf_php.so: unsupported
> file layout in Unknown on line 0
>
>
> Do I need to do anything special to activate
> COMPAT_IA32 and COMPAT_FREEBSD5 on this loadable module ?

Various problems occur when a dynamic x86 executable
tries to use x86_64 libraries.

You don't have to do anything special per se, but ensure
that binaries are consistent.


More information about the freebsd-questions mailing list