On Wed, 17 Oct 2007, Alvise Nicoletti wrote:
> Hi... > > I tryed to compile my linux service for a server with ubuntu 64 bit and mysql > 5. > So I changed in the code every mysql40 reference to mysql50. > I tryed to change target, compile, and copy the binary to the another server, > when I try to connect to the database all I get is: > Can not load MySQL library "libmysqlclient.so". Please check your > installation. > > The server configuration is ubuntu 64 bit, mysql 5.0 (client and server). > > I need an application that works on this kind of server, so if you suspect > that I can have any trouble with this in the future please notify it to me. > I'm a little scared about that. > Is it just a misconfiguration problem? It probably is. You can see what the program does by doing a strace -o log.txt yourprogram after the program exits, examine the log.txt file, and search for libmysqlclient.so note the paths that it is trying to find the file. This may give you a hint about the problem. Michael. _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives