Click to See Complete Forum and Search --> : undefined reference to `php_check_open_basedir_ex`


ronn2003
10-21-2003, 12:31 PM
I am running Rh9.0 and trying to install the latest stable release of PHP. I have apache2 and mysql alreadt running.
I keep getting the following error on typing 'make':

Zend/zend_API.lo Zend/zend_extensions.lo Zend/zend_hash.lo Zend/zend_list.lo Zend/zend_indent.lo Zend/zend_builtin_functions.lo Zend/zend_sprintf.lo Zend/zend_ini.lo Zend/zend_qsort.lo Zend/zend_multibyte.lo Zend/zend_execute.lo sapi/cli/php_cli.lo sapi/cli/getopt.lo main/internal_functions_cli.lo -lcrypt -lcrypt -lresolv -lm -ldl -lnsl -lcrypt -lcrypt -o sapi/cli/php
ext/mysql/libmysql/my_tempnam.lo(.text+0x4c): In function `my_tempnam':
/home/ronnies/php4-200310201530/ext/mysql/libmysql/my_tempnam.c:115: the use of
`tempnam' is dangerous, better use `mkstemp'
ext/standard/filestat.lo(.text+0xdc1): In function `php_stat':
/home/ronnies/php4-200310201530/ext/standard/filestat.c:575: undefined reference to `php_check_open_basedir_ex'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1


Any suggestions anyone would be greatly appreciated

Regards.


:mad:

LordShryku
10-22-2003, 08:54 PM
Yikes! Compile error? Why don't you use the RPM?