I feel kind of silly that I can't track this down, but...

From: Date: Fri, 08 Mar 2002 22:22:10 +0000
Subject: I feel kind of silly that I can't track this down, but...
Groups: php.dev 
Request: Send a blank email to php-dev+get-80947@lists.php.net to get a copy of this message
I've got the current CVS version of php configured as follows: EXTENSION_DIR=/home/jtate/php-dev/php4/modules \ ./configure --with-zlib-dir --with-dom=shared --with-dom-xslt --with-dom-exs lt --without-mysql --without-ldap Everything compiles and builds just fine, but when I run the following script: <?php if (!function_exists('xmldoc')) { dl('domxml.so'); } $xml = '<doc><node/></doc>'; $xmlObj = xmldoc($xml); ?> I get the following output. X-Powered-By: PHP/4.3.0-dev Content-type: text/html <br /> <b>Warning</b>: Unable to load dynamic library '/home/jtate/php-dev/php4/modules/ domxml.so' - /home/jtate/php-dev/php4/modules/domxml.so: undefined symbol: empty_s tring in <b>/home/jtate/php-dev/php4/small.php</b> on line <b>3</b><br /> <br /> <b>Fatal error</b>: Call to undefined function: xmldoc() in <b>/home/jtate/php-d ev/php4/small.php</b> on line <b>6</b><br /> Near as I can tell, the only place where empty_string is defined on my entire system is in Zend/zend_variables.c. What am I missing? Is the module not linking properly with the Zend engine? I'd really like to know what's going on, so don't go fixing it in CVS without telling me what was wrong. Thanks, Joseph

« previous php.dev (#80947) next »