Alec Solway writes:
> Hi,
>
> I am getting the following errore when trying to link the MySQL client
> library with a C++ program I have written.
>
> /usr/local/mysql/lib/libmysqlclient.a(my_open.o): In function `my_open':
> my_open.o(.text+0x14): undefined reference to `open64'
> /usr/local/mysql/lib/libmysqlclient.a(mf_format.o): In function `fn_format':
> mf_format.o(.text+0x201): undefined reference to `__lxstat64'
> /usr/local/mysql/lib/libmysqlclient.a(my_fopen.o): In function `my_fopen':
> my_fopen.o(.text+0x21): undefined reference to `fopen64'
>
> Which additional library must I include that has these functions?
>
> Regards.
> Alec
>
>
Hi!
You have to upgrade your system C library .
Seems like it is Linux, so install glibc 2.2.1.
Regards,
Sinisa
____ __ _____ _____ ___ == MySQL AB
/*/\*\/\*\ /*/ \*\ /*/ \*\ |*| Sinisa Milivojevic
/*/ /*/ /*/ \*\_ |*| |*||*| mailto:[EMAIL PROTECTED]
/*/ /*/ /*/\*\/*/ \*\|*| |*||*| Larnaca, Cyprus
/*/ /*/ /*/\*\_/*/ \*\_/*/ |*|____
^^^^^^^^^^^^/*/^^^^^^^^^^^\*\^^^^^^^^^^^
/*/ \*\ Developers Team
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php