ODBC lazarus lazarus / 1-Linux ---------------------------------------------------------------------- rhmargus · 2004-07-07 15:03 Hello !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! I use Fedora Core 2, and install fpc, fpcsrc from rpm package. I use lazarus source code, when compiling with "make clean all" in my home directory. MySQL 3, MySQL devel packages ... When I add MySQL package in IDE all is OK, but when is project run stop with error :          /usr/bin/ld: Cant find -lmysqlclient In a forum I read "libmysqlclient.so -> libmysqlclient.some.version.so" How do that ?????????????????? I read http://lazarus- ccr.sourceforge.net/index.php?wiki=LazarusDatabase but: ln-s /usr/lib/mysql/libmysqlclient.so.10.0.0 /usr/bin/lmysqlcient ln-s /usr/lib/mysql/libmysqlclient.so.10.0.0 /usr/bin/libmysqlcient.so ln-s /usr/lib/mysql/libmysqlclient.so.10.0.0 /usr/bin/mysqlcient not solve the problem. Please help meeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!! ---------------------------------------------------------------------- Anonymous · 2004-07-07 20:45 rhmargus: Do'nt forget to change the /etc/fpc.cfg and enable : -Fl/lib;/usr/lib and the following line must be:  ln -s /usr/lib/mysql/libmysqlclient.so.10.0.0 /usr/lib/libmysqlclient.so                                                 Pay attention that the folder is /usr/lib (not /usr/bin) Have a nice day... Eduardo. ---------------------------------------------------------------------- rhmargus · 2004-07-08 11:53 I have another error  When i placed control on form and RUN Error: unit MYSQLDB cant't be shared or static linked :cry: ---------------------------------------------------------------------- Vincent Snijders · 2004-07-08 13:59 This looks like an fpc bug. A work-around may be to do Build All, before doing run.