[Lazarus] Help getting Lazarus to work under Fedora 11 /w mySQL 5.1
Chris Jennings
cjvanbc at gmail.com
Sun Dec 13 21:10:50 CET 2009
Thanks Mattias
I got the following return
[chris at dt1 ~]$ su -c 'ldconfig -v | grep mysql'
Password:
/usr/lib64/mysql:
libmysqlclient.so.16 -> libmysqlclient.so.16.0.0
libmysqlclient_r.so.16 -> libmysqlclient_r.so.16.0.0
libmysqlclient.so.16 -> libmysqlclient.so.15 (changed)
libmysqlpp.so.3 -> libmysqlpp.so.3.0.9
[chris at dt1 ~]$
and everything now works as expected. I am using the Zeos DB components
as they support mySQL 5.1 whereas the native sqlDB components only
support mySQL 5.0. I understand that they folks at mySQL make changes to
the client libs in minor version changes (eg 5.0 to 5.1) that drive
developers of client connection routines batty. I believe that the so.16
libs are for 5.1 and the so.15 libs are for 5.0
Chris
Mattias Gaertner wrote:
> On Sun, 13 Dec 2009 10:46:12 -0800
> Chris Jennings <cjvanbc at gmail.com> wrote:
>
>
>> Hi Mattias
>>
>> Thanks for looking into my problem.
>>
>
> Please use the mailing list, forum or chat, so that other users an read the
> solutions too.
>
>
>
>> Here are the contents of my /usr/lib64/mysql dir.
>>
>
> This is irrelevant.
> Look at what ld can find:
> ldconfig -v | grep mysql
>
> I took a quick look at mysql50dyn and it seems it searches for 'libmysqlclient.so.15'.
> What unit do you use?
>
>
>
>> [...]
>> -rwxr-xr-x 1 root root 1571784 2009-12-01 22:51 libmysqlclient.so.15
>>
>
>
> Mattias
>
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>
More information about the Lazarus
mailing list