php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #1609 Apache compile breaks with " Undefined symbol `_getpgid' "
Submitted: 1999-06-27 21:15 UTC Modified: 1999-06-27 21:25 UTC
From: lew at persiankitty dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 3.0.10 OS: FreeBSD 2.2.8-RELEASE
Private report: No CVE-ID: None
 [1999-06-27 21:15 UTC] lew at persiankitty dot com
First, I build PHP-3.0.10 as follows:
./configure \
  --with-config-file-path=/usr/local/lib \
  --with-apache=/usr/local/apache \
  --with-system-regex=yes \
  --with-gdbm=/usr/local \
  --with-gd=/usr/local \
  --with-mysql \
  --enable-debug=no \
  --enable-track-vars=yes \
  --enable-short-tags=no
make; make install; make clean

Then, I build Apache/1.3.6 (Unix) as follows:
./configure --prefix=/usr/local/apache \
   --activate-module=src/modules/php3/libphp3.a \
   --disable-module=include --disable-module=asis \
   --disable-module=actions --enable-module=userdir \
   --enable-module=auth_dbm --enable-module=status \
   --enable-module=rewrite  --disable-module=autoindex \
   --disable-rule=WANTHSREGEX
make -D BUFFERED_LOGS HARD_SERVER_LIMIT=600 ; make install ; make clean

The Apache compile breaks during the make, with an undefined symbol:

<=== src/modules
gcc -c  -I./os/unix -I./include   -funsigned-char `./apaci` modules.c
gcc -c  -I./os/unix -I./include   -funsigned-char `./apaci` buildmark.c
gcc  -funsigned-char `./apaci`     -o httpd buildmark.o modules.o  modules/stand
ard/libstandard.a  modules/php3/libphp3.a  main/libmain.a  ./os/unix/libos.a  ap
/libap.a   -L/usr/local/lib -L/usr/local/lib/mysql -Lmodules/php3 -L../modules/p
hp3 -L../../modules/php3 -lmodphp3  -lpcre                        -lm -lcrypt
-lcrypt   -L/usr/local/lib -lgd -L/usr/local/lib/mysql -lmysqlclient -lgdbm
functions/posix.c:157: Undefined symbol `_getpgid' referenced from text segment
functions/posix.c:182: Undefined symbol `_getpgid' referenced from text segment
*** Error code 1

-- Note -- Prior versions, including 3.0.9, compile fine with Apache.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-06-27 21:25 UTC] sas at cvs dot php dot net
fixed in CVS/3.0.11
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Thu Oct 08 05:00:01 2026 UTC