| Bug #32715 | configure failure: checking for ndb_init in -lndbclient... no | ||
|---|---|---|---|
| Submitted: | 26 Nov 2007 13:43 | Modified: | 26 Nov 2007 19:29 |
| Reporter: | Hartmut Holzgraefe | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | Connectors: NDB/Bindings | Severity: | S1 (Critical) |
| Version: | ndb-connectors-0.5.6.3.5.5 | OS: | Any |
| Assigned to: | Monty Taylor | CPU Architecture: | Any |
[26 Nov 2007 19:29]
Monty Taylor
Fixed in 0.5.6.3.5.6. https://launchpad.net/ndb-connectors/telco-6.3/0.5.6.3.5.6/+download/ndb-connectors-0.5.6....

Description: Typo in ./acinclude.m4: AC_CHECK_LIB([mystrings],[deciaml_bin_size]) makes the check for decimal_bin_size in libmystrings.a fail and so -lmystrings is not added to the linker options. This makes the next test fail as it would actually have needed the decimal_bin_size symbol form libmystrings How to repeat: just try to run configure with ndb-connectors-0.5.6.3.5.5 Suggested fix: --- acinclude.m4.old 2007-11-26 14:41:07.000000000 +0100 +++ acinclude.m4 2007-11-26 14:41:13.000000000 +0100 @@ -263,7 +263,7 @@ AC_CHECK_LIB([ndbclient],[decimal_bin_size],,[ AC_CHECK_LIB([ndbhelper],[decimal_bin_size],,[ AC_CHECK_LIB([mysys],[my_thread_init]) - AC_CHECK_LIB([mystrings],[deciaml_bin_size]) + AC_CHECK_LIB([mystrings],[decimal_bin_size]) ]) AC_CHECK_LIB([ndbclient],[ndb_init],,[AC_MSG_ERROR([Can't link against libndbclient])]) ])