Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Nov 2005 02:08:15 -0500
From:      Ian Lord <lordi@msdi.ca>
To:        freebsd-questions@freebsd.org
Subject:   unsupported file layout
Message-ID:  <6.2.3.4.2.20051116020803.02d50008@pop.msdi.ca>

next in thread | raw e-mail | index | archive | help
Hi,

I am trying to setup pdflib on a freebsd server running 2x Xeon processors.

The kernel is compiled using AMD64 version of freebsd6.

I downloaded the binairies for freebsd 5.x for the IA32 architecture.

I've copied the=20
/usr/local/PDFlib-6.0.2-FreeBSD5/bind/php5/php-503/libpdf_php.so=20
into /usr/local/lib/php/20041030 since this is=20
the directory used into my extension_dir attribute in my php.ini

When I reload apache, I get an error in my php error log saying:

[16-Nov-2005 01:45:05] PHP Warning:  PHP Startup:=20
Unable to load dynamic library=20
'/usr/local/lib/php/20041030/libpdf_php.so' - /usr/
local/lib/php/20041030/libpdf_php.so: unsupported=20
file layout in Unknown on line 0

Does that has anything to do with the fact I=20
compiled using my kernel using AMD64 or does it=20
have something to do with the fact I am running=20
freebsd 5.x binairies on a 6.x version ?

 From my understanding, the problem is related to=20
the fact that the binairy was compiled for=20
freebsd 5 on an intel IA32 architecture and that=20
I am running freebsd 6 with AMD64.

Since I compiled my kernel with
options         COMPAT_IA32             # Compatible with i386 binaries
options         COMPAT_FREEBSD5         # Compatible with FreeBSD5

Shouldn't it be working ? or do I need to do=20
antything special to "activate" these functions

Thanks

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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.20051116020803.02d50008>