Fedora 8 and lazarus lazarus / 1-Linux ---------------------------------------------------------------------- rschultz · 2008-03-23 18:02 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. thanks in advance ron ---------------------------------------------------------------------- aurawin · 2008-03-23 20:11 Quote from: "rschultz" 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 l ron Hi there, I too have this problem.  I've installed the Gnome desktop but still use KDE as well.  Same errors and no idea how to solve the problem.  I have found the libglib.so installed though... libglib.so is a link with respect to /usr/lib/libglib-1.2.so.0 -Andy ---------------------------------------------------------------------- rschultz · 2008-03-30 18:44 I had not been able to get Lazarus to compile with Fedora 8. Being a Newbie to Linux I probably had done some things wrong. In the forums I found an install of Lazarus for SUSE by Ignace http://www.lazarus.freepascal.org/index.php?name=PNphpBB2&file;=viewto pic&t;=3801 I decided to try essentially the same thing with Fedora 8. The processor is an AMD Athlon BE 2400 so this would be an install for x86_64. I had tried so much stuff that I wanted to start with a fresh install of Fedora 8. During the install I made sure that I selected Development Library, Development Tools, GNOME Software Development and X Software Development. After the Fedora 8 install and updates these were the relevant packages and their status as seen in the Fedora 8 Package Manager. Lazarus was the only package that would need to be downloaded.   fpc-2.2.0-10.fc8.x86_64                                 available fpc-doc-2.2.0-10.fc8.x86_64                          available fpc-src.2.2.0-10.fc8.x86_64                           available gdk-pixbuf-1:0.22.0-35.fc8.x86_64               installed gdk-pixbuf-devel-1:0.22.0-35.fc8.x86_64     installed gtk+-devel-1:1.2.10-59.fc8.x86_64               available gtk+-extra-2.1.1-6.fc8.x86_64                       available gtk+-extra-devel-2.1.1-6.fc8.x86_64             available In the Fedora 8 Package Manager I did these things in the following order. Selected fpc, fpc-doc and fpc-src in Package Manager then Apply. Good result. Selected gdk-pixbuf and gdk-picbuf-devel then Apply. Package Manager asked for install disk and did some checks for glibc? and gtk? Good result. Selected gtk+-devel, gtk+-extra and gtk+-extra-devel then Apply. Good result. Downloaded Lazarus. I tried yum localinstall lazarus-0.9.24-0.x86_64.rpm. Yum came back with missing dependency lazarus =fpc-2.2.0 which was already installed. Do not understand. I tried rpm with –nodeps. Rpm –Uvh –nodeps lazarus-0.9.24-0.x86_64.rpm.  That worked fine. As far as I can see Lazarus works as expected. Being a Newbie to Linux I’m not sure why the problem with yum installing Lazarus. I guess something like yum does not know about the repositories at sourceforge.net when it checked for dependencies. Now on to trying to get up to speed in Linux. ---------------------------------------------------------------------- Pinkel · 2008-03-31 12:37 Worked for me on Fedora 8 using the instructions from http://wiki.laza rus.freepascal.org/Installing_Lazarus#Installing_using_rpms, modifying the shellscript a tiny bit Code: [Select] #!/bin/sh  URL=http://nchc.dl.sourceforge.net/sourceforge/lazarus  #Wget wasn't installed by default?!  system-install-packages wget  wget $URL/fpc-2.2.0-0.i386.rpm  wget $URL/fpc-src-2.2.0-071105.i386.rpm  wget $URL/lazarus-0.9.24-0.i386.rpm  system-install-packages fpc-* lazarus-* I can recommend feeding the packages _always_ to system-install- packages, instead of RPM or YUM, since this fedora package takes care of all known dependencies by itself. It even asks for root password when  you need one - Ivo