mysql C api problems

bonesmere no-reply-gw at fcp.homelinux.org
Tue Feb 22 10:17:38 UTC 2005


hello, i'm a newbie in linux. 

I have too problems with mysql C api, i have installed mysql version 3.23.58 and i have written  a small program to use mysql Api, but when i try to compile i always get the following error :

/usr/bin/ld: cannot find -lmysqlclient

i compile with: 

gcc -c -I/usr/local/mysql/include/mysql/ p.c
gcc -o p p.o -L/usr/local/mysql/include/mysql/ -lmysqlclient

someone can help me?

thanks a lot and sorry my english


-- 
This is an email sent via the webforum on http://fcp.homelinux.org




More information about the fedora-list mailing list