#23129 [NEW]: inbuilt mysql fails to build on RedHat 9
| From: | petermclarke at hotmail dot com | Date: | Wed, 09 Apr 2003 12:20:24 +0000 |
| Subject: | #23129 [NEW]: inbuilt mysql fails to build on RedHat 9 | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-37433@lists.php.net to get a copy of this message | ||
From: petermclarke at hotmail dot com
Operating system: RedHat 9
PHP version: 4.3.1
PHP Bug Type: Compile Failure
Bug description: inbuilt mysql fails to build on RedHat 9
The inbuilt mysql stops php from compiling. Build works if '--without-msql'
is used in the configure stage.
'./configure' '--with-apxs=/usr/local/apache/bin/apxs'
'--with-pgsql=/usr/local/pgsql' '--with-curl=/usr/local/curl'
'--with-curlwrappers' '--enable-mbstring' '--disable-cgi'
'--enable-sockets' '--with-openssl=/usr/local/ssl'
errors from make:
ext/mysql/libmysql/my_lib.lo(.text+0x3d1): In function `my_dir':
/usr/local/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':
/usr/local/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':
/usr/local/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':
/usr/local/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':
/usr/local/src/php-4.3.1/ext/mysql/libmysql/my_delete.c:16: undefined
reference to `errno'
ext/mysql/libmysql/my_tempnam.lo(.text+0x89):/usr/local/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
--
Edit bug report at http://bugs.php.net/?id=23129&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=23129&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=23129&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=23129&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=23129&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=23129&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=23129&r=support
Expected behavior: http://bugs.php.net/fix.php?id=23129&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=23129&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=23129&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=23129&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23129&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=23129&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=23129&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=23129&r=gnused