php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5423 Static link: doesn't find symbol "modphp4_module" referenced in src/modules.o
Submitted: 2000-07-07 02:00 UTC Modified: 2000-09-04 19:27 UTC
From: rkulzer at lacesm dot ufsm dot br Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.1pl2 OS: SunOS 5.7
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: rkulzer at lacesm dot ufsm dot br
New email:
PHP Version: OS:

 

 [2000-07-07 02:00 UTC] rkulzer at lacesm dot ufsm dot 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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-08-20 04:08 UTC] sniper@php.net
Does this problem still persist with more recent version of php (from CVS or http://snaps.php.net) ??

--Jani
 [2000-09-04 19:27 UTC] sniper@php.net
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
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sun Oct 11 13:00:01 2026 UTC