error while recompiling lazarus (while install components) lazarus / 1-Linux ---------------------------------------------------------------------- pascal-rick · 2004-08-03 07:51 Hi! I'm a fresh lazarus newbie ... i switched to lazarus because of many kylix3pro problems.. So, here is my first problem I tried to install mysql support in lazarus (components- openpackagefile-compile-install). the compiling for the mysql part works fine, but the recompile of lazarus failed: Free Pascal Compiler version 1.9.3 [2004/05/29] for i386 Copyright (c) 1993-2004 by Florian Klaempfl Target OS: Linux for i386 Compiling lazarus.pp Linking ./lazarus /usr/lib/fpc/1.9.3/units/linux/fcl/mysqldb.o(.text+0x1fe5): In function `MYSQLDB_TMYSQLDATABASE_$__CONNECTTOSERVER': : undefined reference to `mysql_connect' /usr/lib/fpc/1.9.3/units/linux/fcl/mysqldb.o(.text+0x220e): In function `MYSQLDB_TMYSQLDATABASE_$__CREATEDATABASE': : undefined reference to `mysql_create_db' /usr/lib/fpc/1.9.3/units/linux/fcl/mysqldb.o(.text+0x22ec): In function `MYSQLDB_TMYSQLDATABASE_$__DROPDATABASE': : undefined reference to `mysql_drop_db' lazarus.pp(97,1) Error: Error while linking Closing script ./ppas.sh make[1]: *** [lazarus] Fehler 1 make[1]: Leaving directory `/usr/share/lazarus' make: *** [ide] Fehler 2 TExternalToolList.Run Exception: there was an error TPascalParserTool.BuildTree B OnlyIntf=True  /usr/share/lazarus/lazarus.pp Any hints for me? whats wrong? thx! patrick [edit] Mandrake GNU/Linux 10.00 (with cooker updates) kernel  2.6.x fpc-1.9.3-040529.i386.rpm     lazarus-0.9.1.4-fpc_1.9.3_040529.i386.rpm fpcsrc-1.9.3-040529.i386.rpm ---------------------------------------------------------------------- Anonymous · 2004-08-03 21:00 no hints for me? :-( ---------------------------------------------------------------------- pascal-rick · 2004-08-03 21:50 ok, finally i found the problem. the mysql package dont like mysql v4 ... so i simple downgrade to v3 libmysql10-3.23.56-1.5.C21mdk.i586.rpm libmysql10-devel-3.23.56-1.5.C21mdk.i586.rpm MySQL-3.23.56-1.5.C21mdk.i586.rpm MySQL-client-3.23.56-1.5.C21mdk.i586.rpm Its not the best way, i know, but it works. anyone may fix this problems with v4 ... greetings, patrick