rodrimartins Posted August 25, 2010 Share Posted August 25, 2010 Hello Guys, I'm updating my PHP 5.2.4 to PHP 5.2.14 on AIX 5.3 + Apache 2.2.16. Compilation yields no errors but upon start I get an undefined symbol error. Cannot load /usr/local/buildforge/apache/modules/libphp5.so into server: rtld: 0712-001 Symbol xmlTextReaderSetup was referenced\n from module /usr/local/buildforge/apache/modules/libphp5.so(), but a runtime definition\n of the symbol was not found. export ccflags=-qcpluscmt export CPPFLAGS=-I/usr/local/buildforge/include export LDFLAGS=-L/usr/local/buildforge/lib export CPPFLAGS=-qcpluscmt . /home/db2inst1/sqllib/db2profile export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib ./configure --enable-mbstring --enable-shmop \ --with-apxs2=/usr/local/buildforge/apache/bin/apxs \ --with-zlib --with-ldap=/usr/local/buildforge \ --with-zlib-dir=/usr/local/buildforge --with-libxml-dir=/usr/local/buildforge \ --prefix=/usr/local/buildforge/php \ --with-ibm-db2=shared,/home/db2inst1/sqllib gmake # gmake -k install cp .libs/libphp5.a /usr/local/buildforge/apache/modules/libphp5.a cp .libs/libphp5.lai /usr/local/buildforge/apache/modules/libphp5.la cp .libs/libphp5.so /usr/local/buildforge/apache/modules/libphp5.so chmod 777 /usr/local/buildforge/apache/modules/libphp5.so chmod 755 /usr/local/buildforge/apache/modules/libphp5.la chmod 755 /usr/local/buildforge/apache/modules/libphp5.a # gmake -k install Installing PHP SAPI module: apache2handler /usr/local/buildforge/apache/build/instdso.sh SH_LIBTOOL='/usr/local/buildforge/apache/build/libtool' libphp5.la /usr/local/buildforge/apache/modules rm -f /usr/local/buildforge/apache/modules/libphp5.so /usr/local/buildforge/apache/build/libtool --mode=install cp libphp5.la /usr/local/buildforge/apache/modules/ cp .libs/libphp5.a /usr/local/buildforge/apache/modules/libphp5.a cp .libs/libphp5.lai /usr/local/buildforge/apache/modules/libphp5.la libtool: install: warning: remember to run `libtool --finish /install/update/php-5.2.6/libs' chmod 755 /usr/local/buildforge/apache/modules/libphp5.so chmod: /usr/local/buildforge/apache/modules/libphp5.so: A file or directory in the path name does not exist. apxs:Error: Command failed with rc=65536 . gmake: *** [install-sapi] Error 1 Installing PHP CLI binary: /usr/local/buildforge/php/bin/ Installing PHP CLI man page: /usr/local/buildforge/php/man/man1/ Installing shared extensions: /usr/local/buildforge/php/lib/php/extensions/no-debug-non-zts-20060613/ Installing build environment: /usr/local/buildforge/php/lib/php/build/ Installing header files: /usr/local/buildforge/php/include/php/ Installing helper programs: /usr/local/buildforge/php/bin/ program: phpize program: php-config Installing man pages: /usr/local/buildforge/php/man/man1/ page: phpize.1 page: php-config.1 Installing PEAR environment: /usr/local/buildforge/php/lib/php/ [PEAR] PEAR - already installed: 1.7.1 Wrote PEAR system config file at: /usr/local/buildforge/php/etc/pear.conf You may want to add: /usr/local/buildforge/php/lib/php to your php.ini include_path Installing PDO headers: /usr/local/buildforge/php/include/php/ext/pdo/ gmake: Target `install' not remade because of errors. # cp .libs/libphp5.a /usr/local/buildforge/apache/modules/libphp5.a # cp .libs/libphp5.lai /usr/local/buildforge/apache/modules/libphp5.la # cp .libs/libphp5.so /usr/local/buildforge/apache/modules/libphp5.so # chmod 755 /usr/local/buildforge/apache/modules/libphp5.so # /usr/local/buildforge/apache/bin/apachectl start httpd: Syntax error on line 55 of /usr/local/buildforge/apache/conf/httpd.conf: Cannot load /usr/local/buildforge/apache/modules/libphp5.so into server: rtld: 0712-001 Symbol xmlTextReaderSetup was referenced\n from module /usr/local/buildforge/apache/modules/libphp5.so(), but a runtime definition\n of the symbol was not found. Quote Link to comment https://forums.phpfreaks.com/topic/211705-compilation-yields-no-errors-but-upon-start-i-get-an-undefined-symbol-error/ Share on other sites More sharing options...
rodrimartins Posted September 3, 2010 Author Share Posted September 3, 2010 Quote Link to comment https://forums.phpfreaks.com/topic/211705-compilation-yields-no-errors-but-upon-start-i-get-an-undefined-symbol-error/#findComment-1106671 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.