That sounds like the perl you compiled this module with (and that you
use when you run CGI) is not the same as the one you compiled mod_perl
with.
Perrin, thank you for your help on this.

I've checked my whole disk and I've got only one 'perl' binary, ie. the one provided with Leopard (I haven't compiled Perl by myself) and installed in /usr/bin.

Something I've noticed, if I run 'file /usr/bin/perl', I get the following:
/usr/bin/perl: Mach-O universal binary with 2 architectures
/usr/bin/perl (for architecture ppc7400):       Mach-O executable ppc
/usr/bin/perl (for architecture i386):  Mach-O executable i386
And if I run 'file /usr/libexec/apache2/mod_perl.so', I get this:
/usr/libexec/apache2/mod_perl.so: Mach-O 64-bit bundle x86_64
Is this an explanation why things to not run the way depending on CGI vs mod_perl mode?

I'm definitely lost on which architecture should be used to compile things on my MacBook Pro (Santa Rosa) running Leopard (Mac OS X 10.5). I know it is quite out of topic but is there any Mac Guru which could explain the basics to me? TIA.

--
Laurent, Nantes (FR) - http://blog.lmartin.fr
Apple MacBook Pro 15"
Nokia Internet Tablet N800
Palm Treo 650 (unlocked GSM)

Reply via email to