Re: incompatible libmysqld.a

2007-02-26 Thread Colin Charles

Carlos Soria wrote:

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.


It compiles with glibc v2.5 on Fedora Core 6


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


Can you file a bug report at bugs.mysql.com?

thanks


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

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


--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Re: incompatible libmysqld.a

2007-02-15 Thread Carlos Soria

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/



Re: incompatible libmysqld.a

2007-02-14 Thread Chris White

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?



what  particular options are you using to compile mysql?  Also what type 
of system are you compiling it on?


--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Re: incompatible libmysqld.a

2007-02-14 Thread Colin Charles

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/

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]