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:
None 
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 13:43] Hartmut Holzgraefe
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])])
     ])

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.050 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.