Problemas com Ligação na API C
Ar ligar com a API C, os segintes error podem ocorrem em alguns sistemas:
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
Se isto acontecer em seu sistema, você deve incluir a biblioteca math adiconando -lm
ao fim da linha de compilação/ligação.