[fpc-pascal]Linking error with MySQL on Linux.
ddt at vukanet.co.za
Thu Jun 27 11:27:21 CEST 2002
Like I said, I did a full install of RedHat.
The headers are in /usr/include/mysql and the so's in /usr/lib/mysql
I cannot find anything different about the setup.
On Thursday 27 June 2002 11:19, Peter Vreman wrote:
> > insertCodes.pas(43) Error: Error while linking
> > Closing script ppas.sh
> > /usr/bin/ld: cannot find -lmysqlclient
> > I have tried symlinking libraries, have checked /etc/ld.so.conf to ensure
> > that the mysql libraries were there etc. etc. etc.
> > Any idea how to tell ld where to find it ?
> > I am running FPC 1.0.6 on RedHat 7.3 full install.
> You need to have the mysql-devel package installed. You can check if it is
> installed with the following command:
> rpm -qq mysql-devel
> fpc-pascal maillist - fpc-pascal at lists.freepascal.org
More information about the fpc-pascal