[lazarus] TMPack link error.

Ken Moffat kmoffat at drizzle.com
Wed Nov 12 19:29:28 EST 2003

I have attempted to add TMPack to my Lazarus install. Untarred in to a 
directory under my home, opened lazarus as root, opened the file 
tmpack.lpk, and tried install. This gave the message about having to 
recompile lazarus, so I clicked Okay to recompile, and this is how the 
procedure ended:

TOutputFilter: "Free Pascal Compiler version 1.0.11 [2003/10/22] for i386"
TOutputFilter: "Copyright (c) 1993-2003 by Florian Klaempfl"
TOutputFilter: "Target OS: Linux for i386"
TOutputFilter: "Compiling lazarus.pp"
TOutputFilter: "Assembling lazarus"
TOutputFilter: "Linking ./lazarus"
TOutputFilter: "/usr/bin/ld: cannot find -lmysqlclient"
TOutputFilter: "lazarus.pp(352) Error: Error while linking"
TOutputFilter: "Closing script ./ppas.sh"
TOutputFilter: "make[1]: *** [lazarus] Error 1"
TExternalToolList.Run make[1]: *** [lazarus] Error 1

I had previously attempted to add mysqlaz to the ide without success.
(/usr/share/lazarus/components/mysql/) I don't know if this had an effect.

Anyone have any advice? The ide runs but the TMPack did not install. It 
shows status: install on next restart in the package graph, as does mysqlaz.


More information about the Lazarus mailing list