[Lazarus] Lazarus for education bugfix

Rainer Hamann rainer at hamann-kiel.de
Wed Mar 26 08:54:30 CET 2008



On Tue, 25 Mar 2008, Andrew Brunner wrote:

> Does anyone have any idea why Lazarus won't compile on Redhat Fedora 8?
> 
> We've got a discussion going on the forums but no comments.  At least
> two of us on the forum have the same issue.  The message is from ld
> regarding libglib.  I have verified that a file with the actual library
> is there - not just a link.
> 
> /usr/bin/ld: skipping incompatible /usr/lib/libglib.so when searching
> for -lglib
> /usr/bin/ld: cannot find -lglib
> project1.lpr(17,1) Error: Error while linking
> project1.lpr(17,1) Fatal: There were 1 errors compiling module, stopping
> 
> 
> http://www.lazarus.freepascal.org/index.php?name=PNphpBB2&file=viewtopic&t=5151 
> 
> 
> 
> What is wrong with the libglib.so that can throw this error?  64bit
> instead of 32bit library?  What is it expecting on 64bit install?

32bit instead of 64bit library seems to be the answer. 
64bit libraries are in /usr/lib64. At least on SuSE, and I assume Fedora as
well. Ubuntu and Debian have a different system.

Michael.



More information about the Lazarus mailing list