DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

(mysql.info) c-api-linking-problems

Info Catalog (mysql.info) getting-unique-id (mysql.info) c-api-problems
 
 22.2.13.4 Problems Linking with the C API
 .........................................
 
 When linking with the C API, the following errors may occur on some
 systems:
 
      gcc -g -o client test.o -L/usr/local/lib/mysql -lmysqlclient -lsocket -lnsl
 
      Undefined        first referenced
       symbol          in file
      floor            /usr/local/lib/mysql/libmysqlclient.a(password.o)
      ld: fatal: Symbol referencing errors. No output written to client
 
 If this happens on your system, you must include the math library by
 adding -lm to the end of the compile/link line.
 
Info Catalog (mysql.info) getting-unique-id (mysql.info) c-api-problems
automatically generated byinfo2html