Hi All,
Sorry if this has been asked in the past, but I haven't been able to find an answer.
I am using Lazarus 1.6.4, and FPC 3.0.0
I have a Lazarus application (on Ubuntu, works OK compiling on Windows as well), which accesses a MySQL DB using the builtin mysqldb components.
Program compiles fine on the Mac but when I try to connect to the DB it complains that it can't find libmysqlclient.dylib.18 or libmysqlclient.dylib,
problem one is the filename as on the mac the file list libmysqlclient.18.dylib, so OK just symlink.
problem two is where does the file go? have tried various locations (/usr/lib, same directory as the executable....), but it doesn't find it. I have also tried setting LD_LIBRARY_PATH & DYLD_LIBRARY_PATH but to no avail.
Could one of the wonderful guru's out there please point me in the right direction as I seem to be going round and round in circles.
Thanks in advance.