Date: 05/29/00
- Next message: Bug Database: "[PHP-DEV] PHP 4.0 Bug #4671 Updated: problem configuration"
- Previous message: cfermin <email protected>: "[PHP-DEV] PHP 4.0 Bug #4671: problem configuration"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: hboily <email protected>
Operating system: Solaris 2.7
PHP version: 4.0 Release Candidate 2
PHP Bug Type: Installation problem
Bug description: undefined symbol ref libphp4.a on Solaris 2.7
I am trying to compile PHP4 as a static module with apache 1.3.11
on solaris 2.7. The following error occures while making Apache
at "make all" (final) stage:
gcc -c -I./os/unix -I./include -DSOLARIS2=270 -I/opt/php-4.0.0 -I/opt/php
-4.0.0/Zend -I/opt/php-4.0.0/Zend -I/opt/php-4.0.0 -DUSE_EXPAT -I./lib/expat
-lite -DNO_DL_NEEDED `./apaci` modules.c
gcc -c -I./os/unix -I./include -DSOLARIS2=270 -I/opt/php-4.0.0 -I/opt/php
-4.0.0/Zend -I/opt/php-4.0.0/Zend -I/opt/php-4.0.0 -DUSE_EXPAT -I./lib/expat
-lite -DNO_DL_NEEDED `./apaci` buildmark.c
gcc -DSOLARIS2=270 -I/opt/php-4.0.0 -I/opt/php-4.0.0/Zend -I/opt/php-4.0.0/
Zend -I/opt/php-4.0.0 -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED
`./apaci` \
-o httpd buildmark.o modules.o modules/php4/libphp4.a
modules/standard/libstandard.a main/libmain.a ./os/unix/libos.a
ap/libap.a
lib/expat-lite/libexpat.a -R/usr/ucblib -R/opt/mysql/lib -L/usr/ucblib -L/
opt/mysql/lib -Lmodules/php4 -L../modules/php4 -L../../modules/php4 -lmodphp
4 -lpam -ldl -lmysqlclient -lresolv -lresolv -lm -ldl -lcrypt -lnsl -lsock
et -lsocket -lsocket -lnsl
Undefined first referenced
symbol in file
php_startup_internal_extensions modules/php4/libphp4.a(main.o)
php_global_startup_internal_extensions modules/php4/libphp4.a(SAPI.o)
php_global_shutdown_internal_extensions modules/php4/libphp4.a(SAPI.o)
ld: fatal: Symbol referencing errors. No output written to httpd
*** Error code 1
make: Fatal error: Command failed for target `target_static'
Note: i had previously received and ignored the following warning while
builing PHP4:
sh: !: not found
mkdir -p /opt/apache_1.3.11/src/modules/php4; cp libs/libphp4.a
/opt/apache_1.3.11/src/modules/php4/libmodphp4.a; cp
/opt/php-4.0.0//sapi/apache/mod_php4.* sapi/apache/libphp4.module
/opt/apache_1.3.11/src/modules/php4; cp ./sapi/apache/apMakefile.tmpl
/opt/apache_1.3.11/src/modules/php4/Makefile.tmpl; cp
./sapi/apache/apMakefile.libdir
/opt/apache_1.3.11/src/modules/php4/Makefile.libdir
installing shared modules into
/usr/local/lib/php/extensions/debug-non-zts-20000401
cp: cannot access modules/*
Making install in pear
creating header file hierarchy
creating phpize
creating php-config
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Bug Database: "[PHP-DEV] PHP 4.0 Bug #4671 Updated: problem configuration"
- Previous message: cfermin <email protected>: "[PHP-DEV] PHP 4.0 Bug #4671: problem configuration"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

