Dave Coventry wrote:
Dependency Hell!
I can't actually find any glib library files. There are a lot of C
header files in /usr/include/glib-2.0/, but no *.so or *.a files.
What I'm doing is installing the latest Gentoo ebuild (currently
lazarus-0.9.12, masked out as 'untested') which will, hopefully, sort
out the required dependencies; something which is one of Gentoo's
strengths. But it's taking an awful long time (one of Gentoo's weaknesses).
Once that's done, I will look at reinstalling the svn.
I've just noticed that Portage is installing fpc-2.0.2. I believe that
the current stable version of fpc is 2.0.4, so it looks as though I'll
have to sort that out as well.
Sönmez Kartal wrote:
Copy your glib library file to /usr/lib or /lib directory. I had same
problem but mine was libesd. Copied file to /usr/lib fixed it.
Use locate glib and check for your library file, is it in /usr/lib or
/lib. Probably, your ld cannot find it in those directories.
Dave Coventry yazmış:
Arrrgh!
installed glib (emerge glib)
Same error.
Vincent Snijders wrote:
Dave Coventry schreef:
Hi,
My Laptop is running XP with Gentoo also running in Co-Linux.
The Windows installation of Lazarus installs Fine, but I get the
following when I run 'make clean all':
Linking ../lazarus
/usr/bin/ld: cannot find -lglib
lazarus.pp(119,1) Error: Error while linking
make[2]: *** [lazarus] Error 1
make[2]: Leaving directory `/home/Space/lazarus/ide'
make[1]: *** [ide] Error 2
make[1]: Leaving directory `/home/Space/lazarus/ide'
make: *** [ide] Error 2
I first installed fpc by running the install.sh script supplied
which installed to /usr/local
The I ran 'svn checkout
http://svn.freepascal.org/svn/lazarus/trunk/
<http://svn.freepascal.org/svn/lazarus/trunk/> lazarus' from within
/opt/
chmod 777 -R /opt/lazarus
(the above being as root)
As a normal user I did the following:
$cd /opt/lazarus
$:make clean all
which generated the error above.
Can anyone suggest anything? I have googled, but without success.
I have checked
http://wiki.lazarus.freepascal.org/Lazarus_Faq#When_compiling_lazarus_the_compiler_can_not_find_a_unit._e.g.:_gtkint.pp.2817.2C16.29_Fatal:_Can.27t_find_unit_GLIB
You are so close. This FAQ applies:
http://wiki.lazarus.freepascal.org/Lazarus_Faq#I_receive_an_error_during_the_linking_that_states_.2Fusr.2Fbin.2Fld_can.27t_find_-l.3Csome_lib.3E
Vincent
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives
Hi,
Maybe you can try:
emerge --nospinner =x11-libs/gtk+-1.2.10-r12
It should bring in glib-1.2
If it doesn't, try:
emerge --nospinner =dev-libs/glib-1.2.10-r5
HTH and good luck,
Funky Beast
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives