Op woensdag 17-10-2007 om 18:03 uur [tijdzone +0200], schreef Alvise
Nicoletti:
> 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?
>
> If I do a locate libmysqlclient.so I found:
> /usr/lib/libmysqlclient.so.15
> /usr/lib/libmysqlclient.so.15.0.0
You have to install the 64-bit version of the mysql-client. On most
distributions, that's located in /usr/lib64/ and not /usr/lib.
So take a look in /usr/lib64 It's most probable that the correct link is
missing there. (The usual mysql-library-link-issues)
Joost.
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives