Compiling PHP on AIX 5.3 works fine except for Apache module...

From: Date: Wed, 29 Jun 2005 12:09:58 +0000
Subject: Compiling PHP on AIX 5.3 works fine except for Apache module...
Groups: php.general 
Request: Send a blank email to php-general+get-217806@lists.php.net to get a copy of this message
Hi guys... I compiled PHP 4.3.9 on AIX 5.3 ML02 with this command... # ./configure --enable-calendar --enable-ftp --with-gd --with-gettext --enable-mime-magic --with-mysql --with-iconv --enable-mbstring=all --enable-mbregex --with-apxs=/opt/apps/apache/1.3.33/bin/apxs --with-zlib-dir=/usr/local/lib --with-zlib --with-png-dir --with-freetype-dir # make # make install Everything works perfectly except for the apache module.... when I try to start apache with that module I got this error: Syntax error on line 205 of /opt/apps/apache/1.3.33/conf/httpd.conf:
Cannot load /opt/apps/apache/1.3.33/libexec/libphp4.so into server:     0509-130 Symbol resolution failed for /usr/local/lib/gcc-lib/powerpc-ibm-aix5.2.0.0/3.3.2/../../../libz.so because:
       0509-136   Symbol _GLOBAL__F__Unwind_GetLanguageSpecificData (number 23) is not exported from
                  dependent module /usr/local/lib/gcc-lib/powerpc-ibm-aix5.2.0.0/3.3.2/../../../libgcc_s.a(shr.o).
       0509-022 Cannot load module /opt/apps/apache/1.3.33/libexec/libphp4.so.
       0509-026 System error: Cannot run a file that does not have a valid format.
       0509-192 Examine .loader section symbols with the
                'dump -Tv' command.
/opt/apps/apache/1.3.33/bin/apachectl start: httpd could not be started But the /usr/local/bin/php command works fine ... # /usr/local/bin/php -v PHP 4.3.11 (cli) (built: Jun 28 2005 23:47:50) Copyright (c) 1997-2004 The PHP Group Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies # /usr/local/bin/php -m [PHP Modules] calendar ctype ftp gd gettext iconv mbstring mysql overload pcre posix session standard tokenizer xml zlib [Zend Modules] Anyone have an idea why the module is not working ? Thanks Sébastien Roy Administrateur de Systèmes Senior / Senior System Administrator PointPub Communications. - Laval, Canada (514) 867-1079 Sebastien.Roy@PointPub.NET www.pointpub.net

« previous php.general (#217806) next »