PHP 4.0 Bug #5423 Updated: Static link: doesn't find symbol "modphp4_module" referenced in src/modules.o
| From: | Bug Database | Date: | Mon, 04 Sep 2000 23:27:39 +0000 |
| Subject: | PHP 4.0 Bug #5423 Updated: Static link: doesn't find symbol "modphp4_module" referenced in src/modules.o | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-31995@lists.php.net to get a copy of this message | ||
ID: 5423
Updated by: sniper
Reported By: rkulzer@lacesm.ufsm.br
Status: Closed
Bug Type: Compile Failure
Assigned To:
Comments:
No feedback. Please try php4.0.2 or latest CVS or snapshot from http://snaps.php.net
and reopen this bug report if problem still exists.
--Jani
Previous Comments:
[2000-08-20 04:08:05] sniper@php.net
Does this problem still persist with more recent version of php (from CVS or http://snaps.php.net) ??
--Jani
---------------------------------------------------------------------------
[2000-07-07 02:00:39] rkulzer@lacesm.ufsm.br
I tried to instal PHP with the sequence above:
############
mkdir /usr/apache/www/static/; cd /usr/apache/www/static/
tar xvf /src/php-4.0.1pl2.tar
tar xvf /src/apache_1.3.12.tar
cd /usr/apache/www/static/apache_1.3.12
./configure --prefix=/usr/apache
--enable-module=most
--enable-suexec
--suexec-caller=www
--suexec-userdir=/usr/apache
--suexec-docroot=/usr/apache/share/htdocs
--suexec-logfile=/usr/apache/var/log/suexec_log
--suexec-safepath="/bin:/usr/bin:/usr/local/bin:/usr/apache/bin"
cd /usr/apache/www/static/php-4.0.1pl2/
./configure --prefix=/usr/apache --with-pgsql
--enable-track-vars
--with-apache=../apache_1.3.12
make
make install
cd /usr/apache/www/static/apache_1.3.12
./configure --prefix=/usr/apache
--enable-module=most
--enable-suexec
--suexec-caller=www
--suexec-userdir=/usr/apache
--suexec-docroot=/usr/apache/share/htdocs
--suexec-logfile=/usr/apache/var/log/suexec_log
--suexec-safepath="/bin:/usr/bin:/usr/local/bin:/usr/apache/bin"
--activate-module=src/modules/php4/libmodphp4.a
make
#################
When it finish, there is the message above:
ar cr libproxy.a mod_proxy.o proxy_cache.o proxy_connect.o proxy_ftp.o proxy_http.o proxy_util.o
ranlib libproxy.a
<=== src/modules/proxy
===> src/modules/php4
gcc -c -I../../os/unix -I../../include -DSOLARIS2=270 -DUSE_EXPAT -I../../lib/expat-lite
-DNO_DL_NEEDED
../../apaci mod_php4.c
cp libmodphp4.a libphp4.a
ar r libphp4.a mod_php4.o
ranlib libphp4.a
<=== src/modules/php4
<=== src/modules
gcc -c -I./os/unix -I./include -DSOLARIS2=270 -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED
./apaci modules.c
gcc -c -I./os/unix -I./include -DSOLARIS2=270 -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED
./apaci buildmark.c
gcc -DSOLARIS2=270 -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED ./apaci
-o httpd buildmark.o modules.o modules/proxy/libproxy.a modules/php4/libphp4.a
modules/standard/libstandard.a main/libmain.a ./os/unix/libos.a ap/libap.a
lib/expat-lite/libexpat.a -lsocket -lnsl
Undefined first referenced
symbol in file
modphp4_module modules.o
ld: fatal: Symbol referencing errors. No output written to httpd
make[2]: *** [target_static] Error 1
make[2]: Leaving directory `/home/aries/www/static/apache_1.3.12/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/home/aries/www/static/apache_1.3.12'
make: *** [build] Error 2
#################
I didn't find php.ini file. The modules I used was
--with-pgsql --with-apache=../apache_1.3.12/ --enable-track-vars
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=5423