php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #23129 inbuilt mysql fails to build on RedHat 9
Submitted: 2003-04-09 07:20 UTC Modified: 2003-04-10 05:10 UTC
Votes:2
Avg. Score:3.5 ± 0.5
Reproduced:2 of 2 (100.0%)
Same Version:2 (100.0%)
Same OS:2 (100.0%)
From: petermclarke at hotmail dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.3.1 OS: RedHat 9
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: petermclarke at hotmail dot com
New email:
PHP Version: OS:

 

 [2003-04-09 07:20 UTC] petermclarke at hotmail dot com
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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-04-10 05:10 UTC] petermclarke at hotmail dot com
That's fixed it.

Nice one, thanks.

Peter
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 03 12:01:33 2025 UTC