About php and APache.

Started by Yogesh Bhanuover 27 years ago2 messagesgeneral
Jump to latest
#1Yogesh Bhanu
yogesh@ncbs.tifrbng.res.in

Hi
Well I just compiled php-3.0RC4 with apache1.2.6 on rh5.1.
Php Configuration and installation went fine .But,in apache after making allthe modification as the docs .I get the following error when I run make

home/yogesh/int/php-3.0RC4/internal_functions.c:585: undefined reference to `dlclose'
./libphp3.a(db.o): In function `php3_get_info_db':
/home/yogesh/int/php-3.0RC4/functions/db.c:211: undefined reference to `gdbm_version'
./libphp3.a(db.o): In function `_php3_dbmopen':
/home/yogesh/int/php-3.0RC4/functions/db.c:344: undefined reference to `gdbm_open'
/home/yogesh/int/php-3.0RC4/functions/db.c:367: undefined reference to `gdbm_errno'
/home/yogesh/int/php-3.0RC4/functions/db.c:367: undefined reference to `gdbm_strerror'
/home/yogesh/int/php-3.0RC4/functions/db.c:367: undefined reference to `gdbm_errno'
./libphp3.a(db.o): In function `_php3_dbmclose':
/home/yogesh/int/php-3.0RC4/functions/db.c:440: undefined reference to `gdbm_close'
./libphp3.a(db.o): In function `_php3_dbminsert':
/home/yogesh/int/php-3.0RC4/functions/db.c:500: undefined reference to `gdbm_store'
./libphp3.a(db.o): In function `_php3_dbmreplace':
/home/yogesh/int/php-3.0RC4/functions/db.c:553: undefined reference to `gdbm_store'
./libphp3.a(db.o): In function `_php3_dbmfetch':
/home/yogesh/int/php-3.0RC4/functions/db.c:605: undefined reference to `gdbm_fetch'
./libphp3.a(db.o): In function `_php3_dbmexists':
/home/yogesh/int/php-3.0RC4/functions/db.c:669: undefined reference to `gdbm_exists'
./libphp3.a(db.o): In function `_php3_dbmdelete':
/home/yogesh/int/php-3.0RC4/functions/db.c:712: undefined reference to `gdbm_delete'
./libphp3.a(db.o): In function `_php3_dbmfirstkey':
/home/yogesh/int/php-3.0RC4/functions/db.c:757: undefined reference to `gdbm_firstkey'
./libphp3.a(db.o): In function `_php3_dbmnextkey':
/home/yogesh/int/php-3.0RC4/functions/db.c:821: undefined reference to `gdbm_nextkey'
./libphp3.a(dl.o): In function `php3_dl':
/home/yogesh/int/php-3.0RC4/functions/dl.c:107: undefined reference to `dlopen'
/home/yogesh/int/php-3.0RC4/functions/dl.c:112: undefined reference to `dlerror'
/home/yogesh/int/php-3.0RC4/functions/dl.c:116: undefined reference to `dlsym'
/home/yogesh/int/php-3.0RC4/functions/dl.c:119: undefined reference to `dlclose'
/home/yogesh/int/php-3.0RC4/functions/dl.c:127: undefined reference to `dlclose'
/home/yogesh/int/php-3.0RC4/functions/dl.c:138: undefined reference to `dlclose'
/usr/i486-linux-libc5/lib/libm.so.5: undefined reference to `__getfpucw'
make: *** [httpd] Error 1

can any one help me out on this .
thanx in advance
yogesh

#2Aleksey Dashevsky
postgres@luckynet.co.il
In reply to: Yogesh Bhanu (#1)
Re: [GENERAL] About php and APache.

hi!
I strongly recommend you to compile the latest stable version of the
mentioned products, i.e.:
Apache 1.3.1
PHP 3.0.3

I think these versions will compile cleanly
(it seems something wrong happened to autoconfig....)

Al.
On Wed, 9 Sep 1998, Yogesh Bhanu wrote:

Show quoted text

Hi
Well I just compiled php-3.0RC4 with apache1.2.6 on rh5.1.
Php Configuration and installation went fine .But,in apache after making allthe modification as the docs .I get the following error when I run make

home/yogesh/int/php-3.0RC4/internal_functions.c:585: undefined reference to `dlclose'
./libphp3.a(db.o): In function `php3_get_info_db':
/home/yogesh/int/php-3.0RC4/functions/db.c:211: undefined reference to `gdbm_version'
./libphp3.a(db.o): In function `_php3_dbmopen':
/home/yogesh/int/php-3.0RC4/functions/db.c:344: undefined reference to `gdbm_open'
/home/yogesh/int/php-3.0RC4/functions/db.c:367: undefined reference to `gdbm_errno'
/home/yogesh/int/php-3.0RC4/functions/db.c:367: undefined reference to `gdbm_strerror'
/home/yogesh/int/php-3.0RC4/functions/db.c:367: undefined reference to `gdbm_errno'
./libphp3.a(db.o): In function `_php3_dbmclose':
/home/yogesh/int/php-3.0RC4/functions/db.c:440: undefined reference to `gdbm_close'
./libphp3.a(db.o): In function `_php3_dbminsert':
/home/yogesh/int/php-3.0RC4/functions/db.c:500: undefined reference to `gdbm_store'
./libphp3.a(db.o): In function `_php3_dbmreplace':
/home/yogesh/int/php-3.0RC4/functions/db.c:553: undefined reference to `gdbm_store'
./libphp3.a(db.o): In function `_php3_dbmfetch':
/home/yogesh/int/php-3.0RC4/functions/db.c:605: undefined reference to `gdbm_fetch'
./libphp3.a(db.o): In function `_php3_dbmexists':
/home/yogesh/int/php-3.0RC4/functions/db.c:669: undefined reference to `gdbm_exists'
./libphp3.a(db.o): In function `_php3_dbmdelete':
/home/yogesh/int/php-3.0RC4/functions/db.c:712: undefined reference to `gdbm_delete'
./libphp3.a(db.o): In function `_php3_dbmfirstkey':
/home/yogesh/int/php-3.0RC4/functions/db.c:757: undefined reference to `gdbm_firstkey'
./libphp3.a(db.o): In function `_php3_dbmnextkey':
/home/yogesh/int/php-3.0RC4/functions/db.c:821: undefined reference to `gdbm_nextkey'
./libphp3.a(dl.o): In function `php3_dl':
/home/yogesh/int/php-3.0RC4/functions/dl.c:107: undefined reference to `dlopen'
/home/yogesh/int/php-3.0RC4/functions/dl.c:112: undefined reference to `dlerror'
/home/yogesh/int/php-3.0RC4/functions/dl.c:116: undefined reference to `dlsym'
/home/yogesh/int/php-3.0RC4/functions/dl.c:119: undefined reference to `dlclose'
/home/yogesh/int/php-3.0RC4/functions/dl.c:127: undefined reference to `dlclose'
/home/yogesh/int/php-3.0RC4/functions/dl.c:138: undefined reference to `dlclose'
/usr/i486-linux-libc5/lib/libm.so.5: undefined reference to `__getfpucw'
make: *** [httpd] Error 1

can any one help me out on this .
thanx in advance
yogesh