[Lazarus] Fedora 8 problem
Lee Jenkins
lee at datatrakpos.com
Fri Mar 28 14:43:01 CET 2008
ron schultz wrote:
> Since I'm new to Linux it is entirely possible I've done something
> wrong. I downloaded the rpm's. I did have problems with dependencies.
> Tried several things with rpm and yum.
>
> I have Lazarus 9.24 working on the P3 with Fedora 8.
>
> I have never been able to get Lazarus 9.24 working on the AMD Athalon
> X2 BE2400 with Fedora 8.
>
> Test machines.
> AMD Athalon X2 BE2400 2.3 Ghz Fedora 8.
> P3 500Mhz Fedora 8.
>
> Below are 2 posts copied from the Linux forum. If I did not use the
> install below I ended up with an error something like "lazarus
> dependency = fpc 2.2.0" even though fpc was already installed.
>
> start of 1st post
>
> I've finally been able to install fpc/lazarus (x86_64) on an AMDx64
> with Fedora 8 without dependency errors. This is how I finally did it.
>
> rpm -Uvh fpc-2.2.0-0.x86_64.rpm fpc-src-2.2.0-071110.x86_64.rpm
> fpc-doc-2.2.0-10.fc8.x86_64.rpm lazarus-0.9.24-0.x86_64.rpm
> Preparing... ########################################### [100%]
> 1:fpc ########################################### [ 25%]
> Running on linux
> Write permission in /etc.
> Saved old config to /etc/fpc.cfg.orig
> Found libgcc.a in /usr/lib/gcc/x86_64-redhat-linux/4.1.2
> Writing sample configuration file to /etc/fpc.cfg
> 2:fpc-src ########################################### [ 50%]
> 3:fpc-doc ########################################### [ 75%]
> 4:lazarus ########################################### [100%]
>
> *********
> Everything seems to be there but when I try to compile even a blank
> form I get this message.
>
> /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
>
> *********
> When I try to install this rpm I get this message. So that was not the
> problem. Some version issue I guess.
>
> rpm -Uvh compiz-gnome-0.6.2-3.fc8.x86_64.rpm
> Preparing... ########################################### [100%]
> package compiz-gnome-0.6.2-3.fc8.x86_64 is already installed
>
> ********
> What's the solution to the libglib.so problem? I've tried recompiling
> lazarus but that does not work and then lazarus will not even run.
> I've got 2 earlier post so disregard them. I'm new to linux so I need
> simple explanations for a simple person. I want to use lazarus with
> Fedora 8.
>
> end of 1st post
>
> start of 2nd post
>
> Still trying to get lazarus to compile using x86_64. Response to my
> previous post "Fedora 8 and Lazarus" indicates one other person has
> identical problem with no solution. A google search seems to indicate
> that in general this error means that the program is trying to use a
> 32 bit library rather than a 64 bit library.
>
> I do not know what I'm looking for but I do not see any oblious
> problem in "Compiler Options", "Environment Options | Files" or
> "/etc/fpc.cfg".
>
> Why is the compiler looking in /usr/lib instead of /usr/lib64? There
> is a libglib.so in /usr/lib but not in /usr/lib64. In /usr/lib64/
> there are libglib-1.2.so.0, libglib-1.2.so.0.0.10 and libglib-2.0.so.
>
> It would seem to me that there is a path problem somewhere in fpc or
> lazarus. I also found a message on the ATRPMS site that they had a
> problem with x86_64 and Fedora 8 and that it would not be fixed until
> lazarus 9.25.
>
> The complete error message is.
>
> /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
>
> Does anyone have fpc 2.2 and lazarus 9.24 working with fedora 8 and x86_64?
>
> end of 2nd post
>
I have only ever used CentOS myself as I am a linux uber noob. It has an
installation menu where you can choose specific groups of applications, etc to
install and a couple of these have developer oriented package groups listed.
Selecting these to be installed, I haven't had a problems with supporting files
and libraries for development.
Does Fedora have something like this?
P.S. I do have some troubles getting gtk2 files to be correctly installed and
gave up for a bit since I didn't really *need* them, but other than that, pretty
easy to install then download lazarus rpm and install that too.
--
Warm Regards,
Lee
"Everything I needed to learn in life, I learned selling encyclopedias door to
door."
More information about the Lazarus
mailing list