PHP 4.0 Bug #4438: Compiling Zend as DSO fails
| From: | jon at unequivocal dot co dot uk | Date: | Sun, 14 May 2000 11:51:15 +0000 |
| Subject: | PHP 4.0 Bug #4438: Compiling Zend as DSO fails | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-18716@lists.php.net to get a copy of this message | ||
From: jon@unequivocal.co.uk
Operating system: OpenBSD 2.7
PHP version: 4.0 Release Candidate 2
PHP Bug Type: Compile Failure
Bug description: Compiling Zend as DSO fails
./configure --with-apxs --with-mysql --with-config-file-path=/var/www/conf --enable-track-vars
--enable-bcmath
make
Compile transcript includes:
/bin/sh /usr/local/src/php-4.0RC2/libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I.
-I/usr/local/src/php-4.0RC2/ -I/usr/local/src/php-4.0RC2 -I/usr/lib/apache/include
-I/usr/local/src/php-4.0RC2/Zend -I/usr/local/src/php-4.0RC2
-I/usr/local/src/php-4.0RC2/ext/mysql/libmysql -I/usr/local/src/php-4.0RC2/ext/xml/expat/xmltok
-I/usr/local/src/php-4.0RC2/ext/xml/expat/xmlparse -DEAPI=1 -DXML_BYTE_ORDER=12 -g -O2 -Wall -c
php_virtual_cwd.c
/tmp/ccs25253.s: Assembler messages:
/tmp/ccs25253.s:1773: Warning: GOT relocation burb: `_cwd_globals' should be global
/tmp/ccs25253.s:1773: Warning: GOT relocation burb: `_cwd_globals' should be global
[repeats]
/bin/sh /usr/local/src/php-4.0RC2/libtool --silent --mode=link gcc -g -O2 -Wall -o libphp4.la
-rpath /usr/local/src/php-4.0RC2/libs -avoid-version main.lo internal_functions.lo snprintf.lo
php_sprintf.lo configuration-parser.lo configuration-scanner.lo safe_mode.lo fopen-wrappers.lo
php_realpath.lo alloca.lo php_ini.lo SAPI.lo rfc1867.lo dlist.lo php_content_types.lo strlcpy.lo
strlcat.lo mergesort.lo reentrancy.lo php_variables.lo php_ticks.lo php_virtual_cwd.lo
Zend/libZend.la sapi/apache/libsapi.la regex/libregex.la ext/bcmath/libbcmath.la ext/db/libdb.la
ext/mysql/libmysql.la ext/pcre/libpcre.la ext/posix/libposix.la ext/session/libsession.la
ext/standard/libstandard.la ext/xml/libxml.la -lresolv -lm -lresolv
*** Warning: inter-library dependencies are not known to be supported.
*** All declared inter-library dependencies are being dropped.
*** The inter-library dependencies that have been dropped here will be
*** automatically added whenever a program is linked with this library
*** or is declared to -dlopen it.
ld: php_virtual_cwd.lo: relocation must refer to global symbol at 0x916
ld: php_virtual_cwd.lo: relocation must refer to global symbol at 0x89a
ld: php_virtual_cwd.lo: relocation must refer to global symbol at 0x815
ld: php_virtual_cwd.lo: relocation must refer to global symbol at 0x77a
ld: php_virtual_cwd.lo: relocation must refer to global symbol at 0x6fe
ld: php_virtual_cwd.lo: relocation must refer to global symbol at 0x68e
ld: php_virtual_cwd.lo: relocation must refer to global symbol at 0x5c2
ld: php_virtual_cwd.lo: relocation must refer to global symbol at 0x1f8
ld: php_virtual_cwd.lo: relocation must refer to global symbol at 0x1c0
ld: php_virtual_cwd.lo: relocation must refer to global symbol at 0x16a
ld: .libs/libphp4.lax/libsapi.al/mod_php4.lo: relocation must refer to global symbol at 0xf5f
ld: .libs/libphp4.lax/libsapi.al/mod_php4.lo: relocation must refer to global symbol at 0xeff
ld: .libs/libphp4.lax/libsapi.al/mod_php4.lo: relocation must refer to global symbol at 0xc86
'make install' gives:
apxs -i -a -n php4 libs/libphp4.s*
apxs:Error: file libs/libphp4.so.0.0 is not a DSO
*** Error code 1