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