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]

Reply via email to