Recent

Author Topic: fedora 5 not glib  (Read 6040 times)

johnf

  • New Member
  • *
  • Posts: 18
fedora 5 not glib
« on: March 21, 2006, 12:48:55 pm »
I got Lazarus install and it appears to run but when I attempt to compile a project it errors immediately with "unable to find glib".  When I check the installed packages it shows glib as installed.  How do I tell Lazarus where glib is located?

John

eric

  • Sr. Member
  • ****
  • Posts: 267
RE: fedora 5 not glib
« Reply #1 on: March 21, 2006, 04:49:09 pm »
The problem is not the absence of glib itself, but the associated development header package, which will be called glib-dev or glib-devel. You will also need gtk-dev(el) and gdk-pixbuf-dev(el).

Eric

Anonymous

  • Guest
RE: fedora 5 not glib
« Reply #2 on: March 25, 2006, 11:37:09 pm »
I have in same problem and have installed gtk-dev and gdk-pixbuf-dev correctly

Jordi

Anonymous

  • Guest
RE: fedora 5 not glib
« Reply #3 on: March 26, 2006, 03:24:23 pm »
Problem lazarus and Fedora 5

Note: No option inside /etc/fpc.cfg config file
project1.lpr(1,1) Fatal: Can't find unit glib

eric

  • Sr. Member
  • ****
  • Posts: 267
RE: fedora 5 not glib
« Reply #4 on: March 26, 2006, 03:52:44 pm »
You probably need to edit /etc/fpc.cfg then. Find the section 'searchpath for libraries' and edit it to suit your system. On my SuSE system I have to add the line -Fl/opt/gnome/lib but it will be different on Fedora.

Eric

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
Re: RE: fedora 5 not glib
« Reply #5 on: March 27, 2006, 09:49:49 am »
Quote from: "Anonymous"

Note: No option inside /etc/fpc.cfg config file
project1.lpr(1,1) Fatal: Can't find unit glib


Here it is important to have the exact error message, the keyword is 'unit'.

See Lazarus FAQ.

Because of the fact the exact error message was not posted, other people who were trying to help, were led in the wrong direction. :-(

 

TinyPortal © 2005-2018