> 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'
I don't want to hurt your feelings, but is this some kind of a joke?
You don't tell us what kine of machine you are using.
You don't identify your operating system, or the compiler you are using.
You don't even tell us what version MySQL you are using.
Let me guess .... Red Hat 5.2 ?
Upgrade or at least get a newer clib.