I've just install FreePascal v2.2.0 on Fedora 7 but while compile my program that use MySQL4 library, there's an error below:
/usr/bin/ld: cannot find -lmysqlclient
Anyway i take an action to list mysql library in /usr/lib/mysql and found some files below:
lrwxrwxrwx 1 root root 26 2007-09-11 23:35 libmysqlclient_r.so.15 -> libmysqlclient_r.so.15.0.0
-rwxr-xr-x 1 root root 1457164 2007-03-30 06:44 libmysqlclient_r.so.15.0.0
lrwxrwxrwx 1 root root 24 2007-09-11 23:35 libmysqlclient.so.15 -> libmysqlclient.so.15.0.0
-rwxr-xr-x 1 root root 1448680 2007-03-30 06:44 libmysqlclient.so.15.0.0
lrwxrwxrwx 1 root root 39 2007-09-17 14:42 lmysqlclient -> /usr/lib/mysql/libmysqlclient.so.15.0.0
-rwxr-xr-x 1 root root 12394 2007-03-30 06:43 mysqlbug
-rwxr-xr-x 1 root root 5449 2007-03-30 06:43 mysql_config
then make a link file to lmysqlclient:
#ln -s /usr/lib/mysql/libmysqlclient.so.15.0.0 lmysqlclient
But there's still the same error.
How should i take action to solve it?