configure missing "-L$MYSQL_LIB_DIR" when checking for mysql_stmt_field_count
| Bug #29329 | configure missing "-L$MYSQL_LIB_DIR" when checking for mysql_stmt_field_count | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Submitted: | 2004-07-22 15:53 UTC | Modified: | 2005-02-05 12:02 UTC |
|
||||||||||
| From: | beardie at dsvr dot net | Assigned: | ||||||||||||
| Status: | Closed | Package: | MySQLi related | |||||||||||
| PHP Version: | 5.0.0 | OS: | Linux | |||||||||||
| Private report: | No | CVE-ID: | None | |||||||||||
[2004-07-22 15:53 UTC] beardie at dsvr dot net
Description: ------------ When running ./configure with the following options (amongst others): --with-mysql=shared,/opt/mysql-4.1 --with-mysqli=shared,/opt/mysql-4.1/bin/mysql_config I get the following failure message: checking for mysql_stmt_field_count in -lmysqlclient... no configure: error: MySQLI doesn't support versions < 4.1.3 anymore. Please update your libraries. Which is resolved by applying the following patch to configure: --- orig/configure 2004-07-22 14:27:15.000000000 +0100 +++ new/configure 2004-07-22 14:27:10.000000000 +0100 @@ -54963,7 +54963,7 @@ echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" -LIBS="-lmysqlclient $LIBS" +LIBS="-L$MYSQL_LIB_DIR -lmysqlclient $LIBS" cat > conftest.$ac_ext <<EOF #line 54969 "configure" #include "confdefs.h" @@ -55196,7 +55196,7 @@ echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" -LIBS="-lmysqlclient $LIBS" +LIBS="-L$MYSQL_LIB_DIR -lmysqlclient $LIBS" cat > conftest.$ac_ext <<EOF #line 55202 "configure" #include "confdefs.h"
Patches
Pull Requests
History
AllCommentsChangesGit/SVN commits
[2004-08-09 00:06 UTC] yrob at mail dot crpower dot com
[2005-02-05 12:02 UTC] georg@php.net