Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Nov 2005 14:19:21 -0500
From:      Ian Lord <lordi@msdi.ca>
To:        "Andrew P." <infofarmer@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: COMPAT_IA32 & COMPAT_FREEBSD5
Message-ID:  <6.2.3.4.2.20051116141813.04ab97e0@pop.msdi.ca>
In-Reply-To: <cb5206420511161108yd1db78dh5eb375e6bffcd036@mail.gmail.com >
References:  <6.2.3.4.2.20051116122047.04a74dc0@pop.msdi.ca> <cb5206420511161108yd1db78dh5eb375e6bffcd036@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
So Basically, I would need to recompile Php for=20
ia32 and run it in emulation, then since php is=20
running as a dso, recompile apache...

At that point, I prefer to do a make buildworld :)



At 14:08 2005-11-16, Andrew P. wrote:
>On 11/16/05, Ian Lord <lordi@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.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Ian Lord, CCNA
MSD Informatique
1711 Mont=E9e Major Terrebonne (Qu=E9bec) J7M 1E6
T=E9l.: (514) 776-MSDI            -> (514) 776-6734
Sans Frais: 1(877) 776-MSDI     -> 1(877) 776-6734
http://www.msdi.ca=20



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