Problems with installing PHP 4.3.1
| From: | Philip Gabbert | Date: | Thu, 01 May 2003 04:30:46 +0000 |
| Subject: | Problems with installing PHP 4.3.1 | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-10770@lists.php.net to get a copy of this message | ||
I'm getting the an error trying to install PHP 4.3.1 with MySQL support:
ext/mysql/libmysql/my_tempnam.lo(.text+0x4c): In function `my_tempnam':
/src/php-4.3.1/ext/mysql/libmysql/my_tempnam.c:103: the use of `tempnam' is dange
rous, better use `mkstemp'
ext/mysql/libmysql/my_lib.lo(.text+0x3d1): In function `my_dir':
/src/php-4.3.1/ext/mysql/libmysql/my_lib.c:169: undefined reference to `errno'
ext/mysql/libmysql/my_lib.lo(.text+0x5ef): In function `my_stat':
/src/php-4.3.1/ext/mysql/libmysql/my_lib.c:588: undefined reference to `errno'
ext/mysql/libmysql/my_malloc.lo(.text+0xde): In function `my_malloc':
/src/php-4.3.1/ext/mysql/libmysql/my_malloc.c:24: undefined reference to `errno'
ext/mysql/libmysql/my_realloc.lo(.text+0xd5): In function `my_realloc':
/src/php-4.3.1/ext/mysql/libmysql/my_realloc.c:44: undefined reference to `errno'
ext/mysql/libmysql/my_delete.lo(.text+0x86): In function `my_delete':
/src/php-4.3.1/ext/mysql/libmysql/my_delete.c:16: undefined reference to `errno'
ext/mysql/libmysql/my_tempnam.lo(.text+0x89):/src/php-4.3.1/ext/mysql/libmysql/my
_tempnam.c:108: more undefined references to `errno' follow
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
CMD line I'm using on Config:
./configure --prefix=/wwwroot/php --with-apxs2=/wwwroot/bin/apxs --with-config-file-patch=/wwwroot/php --with-mysql
MySQL installed is version 4.0 using RPMs from the MySQL site.
Anybody have any idea why this happens and how to fix it? I'm at a lost here. It looks to me it's chocking on it's own MySQL library files.