Thank you for your answers.

gcc (GCC) 4.1.1 20060724 (prerelease) (4.1.1-3mdk)

mysql  Ver 14.12 Distrib 5.0.24a, for mandriva-linux-gnu (i586) using
readline 5.1

GNU C Library development release version 2.4,

I think MySql 5.0 requires glibc 2.3. I do not know if v2.4 is a problem.

This computer is a laptop Acer Aspire 5633WLMi, Intel Core Duo processor.

Thank you again.


2007/2/15, Colin Charles <[EMAIL PROTECTED]>:

Carlos Soria wrote:
> Hello,
>
> I am working with MySQL 5.0.24 on Mandriva-Linux 2007. I can't compile
book
> example test1_libmysqld due to an incompatibility
>
> gcc -g -W -Wall -I/usr/include/mysql -D_THREAD_SAFE -D_REENTRANT -static
> test1_libmysqld.c  -L/usr/lib/mysql -lmysqld -lz -lm -lcrypt -lpthread
-o
> test1_libmysqld
> /usr/bin/ld: skipping incompatible /usr/lib/mysql/libmysqld.a when
> searching
> for -lmysqld
> /usr/bin/ld: cannot find -lmysqld
> collect2: ld returned 1 exit status
> make: *** [test1_libmysqld] Error 1
>
> What is libmysqld incompatible with?
>

Whats your configure options? Please provide more details. Also, what
version of gcc is this?

thanks

--
Colin Charles, Community Engineer
MySQL AB, Melbourne, Australia, www.mysql.com
Mobile: +614 12 593 292 / Skype: colincharles
Web: http://www.bytebot.net/blog/

MySQL Forge: http://forge.mysql.com/

Reply via email to