mysql C api problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux