[fpc-pascal] Re: [fpc-pascal]Re: [fpc-pascal]Can't find lmysqlclient ¿What I'm missing?

Michael.VanCanneyt at Wisa.be Michael.VanCanneyt at Wisa.be
Mon Jun 7 23:58:09 CEST 2004


On Mon, 7 Jun 2004, Anton Tichawa wrote:

> Michael Van Canneyt wrote:
> 
> >On Mon, 7 Jun 2004, Eduardo Lopez wrote:
> >
> >  
> >
> >>Hello all:
> >>
> >>I'm just trying to compile the testdb.pp and I get the following error:
> >>
> >>...../ld:    can't find lmysqlclient
> >>
> >>1) I'm working with Mandrake 8.2
> >>2) Installed mysql with all library (database and development)
> >>3) Installed fpc 1.9.3 rpm, fpc doc rpm and fpcsrc 1.9.3 rpm.
> >>4) copy testdb.pp to my home directory
> >>5) In /etc/fpc.cfg added the following line:
> >>
> >>-Fl/lib;/usr/lib
> >>
> >>6) In /usr/lib added the symbolic link:
> >>
> >>ln -s libmysqlclient.so.10.0.0 lmysqlclient
> >>    
> >>
> >
> >This should be:
> >ln -s libmysqlclient.so.10.0.0 lmysqlclient.so
> >
> >  
> >
> Excuse me if I#m wrong, but shouldn't that read:
> 
> ln -s libmysqlclient.so.10.0.0 libmysqlclient.so
> 
> ('lib' instead of 'l' in the second argument)

Of course. copy and paste error. :/
Happens every time: One tries to help, and fails horribly... :/

Michael.




More information about the fpc-pascal mailing list