I'm trying to compile a program using C API. I get the following errors: /usr/lib/mysql/libmysqlclient.a(my_open.o): In function `my_open': my_open.o(.text+0x14): undefined reference to `open64' /usr/lib/mysql/libmysqlclient.a(mf_format.o): In function `fn_format': mf_format.o(.text+0x208): undefined reference to `__lxstat64' /usr/lib/mysql/libmysqlclient.a(my_fopen.o): In function `my_fopen': my_fopen.o(.text+0x21): undefined reference to `fopen64'