[fpc-pascal] lmysqlclient not found again while compile in fedora 7
Joost van der Sluis
joost at cnoc.nl
Fri Sep 21 10:12:21 CEST 2007
Op donderdag 20-09-2007 om 15:24 uur [tijdzone -0700], schreef Andi
Purwito:
> I have just update my fpc to v2.2.0 under fedora 7. But error occured while compile program that uses mysql4, "lmysqlclient not found". Even after make symbolic link to /usr/lib/mysql/...I have no idea why this always happen again every migrate. Thanks
I had the same problem yesterday. And it has to do with Fedora 7. Some
ppl thought that it would be a good idea to supply two versions of the
mysql-client. Version 3 and 4.1.
Obviously, both versions need a different name, so they supplied
libmysqlclient14.so and libmysqlclient11.so. But not a 'default'
libmysqlcient.so...
Adding a link should solve this. That it didn't work for you is most
probable because you made the link in /usr/lib/mysql. Place a link
in /usr/lib or run /sbin/ldconfig after you made the link.
btw: why do you still use programs which use mysql4? Maybe you'd better
use mysql41dyn.
My question now is: how do other programs on Fedora handle this? How do
they now which libmysqlclient.so to use? Does anybody know that?
Joost.
More information about the fpc-pascal
mailing list