php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #4438 Compiling Zend as DSO fails
Submitted: 2000-05-14 07:51 UTC Modified: 2000-08-18 13:09 UTC
From: jon at unequivocal dot co dot uk Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0 Release Candidate 2 OS: OpenBSD 2.7
Private report: No CVE-ID: None
 [2000-05-14 07:51 UTC] jon at unequivocal dot co dot uk
./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



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-05-21 05:43 UTC] jon at unequivocal dot co dot uk
I get the same problem with OpenBSD 2.6.  Same errors as above except I'm using a different configure string:

./configure --with-apxs --with-mysql --with-gd --with-png --enable-track-vars


 [2000-07-23 00:34 UTC] mrobinso at cvs dot php dot net
Can you try adding the path to the apxs option, '--with-apxs=/path/to/apxs'
and see if works. Also, upgrading to the latest wouldn't hurt.


 [2000-08-18 13:09 UTC] waldschrott@php.net
Closed due to missing user feedback.
 [2014-02-28 17:16 UTC] dsp@php.net
Automatic comment on behalf of cellog
Revision: http://git.php.net/?p=web/pecl.git;a=commit;h=0ae0335ce15824b1178d1e7f1824ed258c5b61ae
Log: fix Bug #4438: PECL package maintainer information is screwed up
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sat Oct 10 08:00:02 2026 UTC