Michael Van Canneyt wrote:

On Mon, 7 Jun 2004, Eduardo Lopez wrote:



Hello all:

I'm just trying to compile the testdb.pp and I get the following error:

...../ld:    can't find lmysqlclient

1) I'm working with Mandrake 8.2
2) Installed mysql with all library (database and development)
3) Installed fpc 1.9.3 rpm, fpc doc rpm and fpcsrc 1.9.3 rpm.
4) copy testdb.pp to my home directory
5) In /etc/fpc.cfg added the following line:

-Fl/lib;/usr/lib

6) In /usr/lib added the symbolic link:

ln -s libmysqlclient.so.10.0.0 lmysqlclient



This should be: ln -s libmysqlclient.so.10.0.0 lmysqlclient.so



Excuse me if I#m wrong, but shouldn't that read:

ln -s libmysqlclient.so.10.0.0 libmysqlclient.so

('lib' instead of 'l' in the second argument)

Anton.




_______________________________________________ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to