Re: PHP 5.2.3 module on Solaris 10 (AMD64)

From: Date: Wed, 13 Jun 2007 22:21:51 +0000
Subject: Re: PHP 5.2.3 module on Solaris 10 (AMD64)
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-18070@lists.php.net to get a copy of this message
Salut, it seems you are compiling the whole bunch in 64bit mode (file libphp5.so) but you are linking php with a 32bit library (/usr/lib) in place of 64bit (/usr/lib/64/libmtmalloc.so.1). You must discover the place where this lib is used (a Makefile in php sources), may be an extension, and force -L/usr/lib/64 -R/usr/lib/64 before the -lmtmalloc web2@get-telecom.fr a écrit :
I tried the latest version 5.2.3 on Solaris 10(AMD64) as a module on Apache 2.0.59. After the compilation, and installation, I've tried to restart Apache and I have this error message : Syntax error on line 232 of /www/apache-2.0.59/conf/httpd.conf: Cannot load /www/apache2/modules/libphp5.so into server: ld.so.1: httpd: fatal: /usr/lib/libmtmalloc.so.1: wrong ELF class: ELFCLASS32 For info, everything's ok with PHP 5.2.2. Thanks for help


« previous php.install (#18070) next »