Re: [Lazarus] Error during linkage editing

2008-11-25 Thread Arí Ricardo Ody
Hi Mattias!

I tried the esplanation you suggest and it doesn't solves the trouble. It was 
only solved when I apply the corrections suggested by Mr. Luca in an e-mail 
that he sends to this mailing list.

Cheers

Ricardo

Sun, 23 Nov 2008 14:10:46 +0100, Mattias Gaertner <[EMAIL PROTECTED]> escreveu:

> On Sun, 23 Nov 2008 09:47:38 -0200
> "Arí Ricardo Ody" <[EMAIL PROTECTED]> wrote:
> 
> > I'm running lazarus 0.9.26 under Mandriva 2008 Spring Free. 
> > 
> > I'm receivng the error:
> > 
> >  /usr/bin/ld: cannot find -lglib
> > 
> > during linkage editing.
> > 
> > I think there's one or more libraries missing(or, at least, a
> > symbolic link). How can I discover what is the trouble? Can someone
> > of you explain a step-by-step way of solve it?
> > 
> > The strange for me is that there are some applications that I can
> > link edit...
> > 
> > Greetings from Sao Paulo - Brazil
> > 
> > Ricardo
> > 
> > P.S.: Suppose I'm not an expert in linux, please.
> 
> Have you tried
> 
> http://wiki.lazarus.freepascal.org/Installing_Lazarus#Installing_on_Mandriva
> 
> ?
> 
> Mattias
> 
> ___
> Lazarus mailing list
> Lazarus@lazarus.freepascal.org
> http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
> 
> 
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Error during linkage editing

2008-11-25 Thread Arí Ricardo Ody
I follow your suggestion and solve the error with libglib.

There were errors with libgdk and libgdk_pixbuf. I solve them in the same way 
and finally it seems that lazarus is running ok. 

The troubles will begin only when I install Mandriva 2009, some day 

It's good to say that the explanation about install lazarus that is documented 
in the Lazarus site doesn't explain this solution...

Thank you very much, Luca

Ricardo

Tue, 25 Nov 2008 08:57:19 +0100, Luca Olivetti <[EMAIL PROTECTED]> escreveu:

> En/na Arí Ricardo Ody ha escrit:
> 
> > 
> > I ran lazarus again and receive the messages:
> > 
> > /usr/bin/ld: skipping incompatible /usr/lib/libglib.so when searching for 
> > -lglib
> > /usr/bin/ld: cannot find -lglib
> 
> It's looking for a file named libglib.so.
> Open a console and issue an "urpmf libglib.so", it should list all the 
> packages containing files which name contains "libglib.so". Disregard 
> the various "libglib.so.x.y" (where x,y are numbers), and note the name 
> of the package that list libglib.so with no extra characters at the end.
> Install that package ("urpmi " as root) and you should be set.
> I'm not running mandriva right now, so I cannot tell you the results of 
> the above commands, however looking at sophie.zarb.org, it tells me that 
> it is in libglib1.2-devel
> 
> Bye
> -- 
> Luca Olivetti
> Wetron Automatización S.A. http://www.wetron.es/
> Tel. +34 93 5883004  Fax +34 93 5883007
> ___
> Lazarus mailing list
> Lazarus@lazarus.freepascal.org
> http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
> 
> 
> 
> 
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Error during linkage editing

2008-11-25 Thread Luca Olivetti
En/na Arí Ricardo Ody ha escrit:

> 
> I ran lazarus again and receive the messages:
> 
> /usr/bin/ld: skipping incompatible /usr/lib/libglib.so when searching for 
> -lglib
> /usr/bin/ld: cannot find -lglib

It's looking for a file named libglib.so.
Open a console and issue an "urpmf libglib.so", it should list all the 
packages containing files which name contains "libglib.so". Disregard 
the various "libglib.so.x.y" (where x,y are numbers), and note the name 
of the package that list libglib.so with no extra characters at the end.
Install that package ("urpmi " as root) and you should be set.
I'm not running mandriva right now, so I cannot tell you the results of 
the above commands, however looking at sophie.zarb.org, it tells me that 
it is in libglib1.2-devel

Bye
-- 
Luca Olivetti
Wetron Automatización S.A. http://www.wetron.es/
Tel. +34 93 5883004  Fax +34 93 5883007
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Error during linkage editing

2008-11-24 Thread Arí Ricardo Ody
I'd go to  
http://wiki.lazarus.freepascal.org/Installing_Lazarus#Installing_on_Mandriva 
and follow the steps suggested there.

I uninstall via rpm fpc/fpc-src/lazarus

I'd download the packages fpc/fpc-docs/fpc-src and lazarus from the link 
suggested.

I'd open Konqueror and doble click over the downloaded packages as suggested. 
The 1st time it asks for the root password as expected.

Every installation runs ok. No dependencies reported.

I ran lazarus again and receive the messages:

/usr/bin/ld: skipping incompatible /usr/lib/libglib.so when searching for -lglib
/usr/bin/ld: cannot find -lglib
FrontEndForBasicCompressionDecompression.lpr(23,1) Error: Error while linking
FrontEndForBasicCompressionDecompression.lpr(23,1) Fatal: There were 1 errors 
compiling module, stopping

May someone tell where do I go now? Every time I install a new version of 
Mandriva Lazarus doesn't runs ok before a lot of troubles. Why do it installs 
ok under Fedora with GNome for example?

Cheers 

Ricardo







Sun, 23 Nov 2008 14:10:46 +0100, Mattias Gaertner <[EMAIL PROTECTED]> escreveu:

> On Sun, 23 Nov 2008 09:47:38 -0200
> "Arí Ricardo Ody" <[EMAIL PROTECTED]> wrote:
> 
> > I'm running lazarus 0.9.26 under Mandriva 2008 Spring Free. 
> > 
> > I'm receivng the error:
> > 
> >  /usr/bin/ld: cannot find -lglib
> > 
> > during linkage editing.
> > 
> > I think there's one or more libraries missing(or, at least, a
> > symbolic link). How can I discover what is the trouble? Can someone
> > of you explain a step-by-step way of solve it?
> > 
> > The strange for me is that there are some applications that I can
> > link edit...
> > 
> > Greetings from Sao Paulo - Brazil
> > 
> > Ricardo
> > 
> > P.S.: Suppose I'm not an expert in linux, please.
> 
> Have you tried
> 
> http://wiki.lazarus.freepascal.org/Installing_Lazarus#Installing_on_Mandriva
> 
> ?
> 
> Mattias
> 
> ___
> Lazarus mailing list
> Lazarus@lazarus.freepascal.org
> http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
> 
> 
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Error during linkage editing

2008-11-23 Thread Hans-Peter Diettrich
Arí Ricardo Ody schrieb:

> I'm receivng the error:
> 
> /usr/bin/ld: cannot find -lglib
> 
> during linkage editing.
...
> P.S.: Suppose I'm not an expert in linux, please. 

Me too :-(

But I solved the same problem just lately, here are some hints:

The message indicates that the linker (ld) couldn't find an glib.la file 
in any library directory. The library path is system dependent, I found 
the files in /usr/lib64/.

A shared library seems to come in 2 parts, where the glib package only 
installs libglib*.so runtime modules, and another glib-devel package 
installs the glib.la file, which is essential for ld. The .la files 
contain pure text, have a look at one if you're curious.

Make sure that you install the basic glib (here: libglib-1.2.*)! The 
-2.0 version doesn't help, it installs e.g. an glib-2.0.la file that is 
not acceptable to the linker, when looking for -lglib.


You may have to install gtk as well, AFAIR also the basic version, 
including libgdk_pixbuf and further libraries or symbols. Again look for 
the according lib*.so and *.la files in your library directory.


The FAQ sould be more verbose about such errors, so that a dumb user can 
determine the required packages and how to install them. The current 
version is understandable only to skilled admins, and doesn't take into 
account newer versions of the same libraries :-(

DoDi

___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Error during linkage editing

2008-11-23 Thread Mattias Gaertner
On Sun, 23 Nov 2008 09:47:38 -0200
"Arí Ricardo Ody" <[EMAIL PROTECTED]> wrote:

> I'm running lazarus 0.9.26 under Mandriva 2008 Spring Free. 
> 
> I'm receivng the error:
> 
>  /usr/bin/ld: cannot find -lglib
> 
> during linkage editing.
> 
> I think there's one or more libraries missing(or, at least, a
> symbolic link). How can I discover what is the trouble? Can someone
> of you explain a step-by-step way of solve it?
> 
> The strange for me is that there are some applications that I can
> link edit...
> 
> Greetings from Sao Paulo - Brazil
> 
> Ricardo
> 
> P.S.: Suppose I'm not an expert in linux, please.

Have you tried

http://wiki.lazarus.freepascal.org/Installing_Lazarus#Installing_on_Mandriva

?

Mattias

___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Error during linkage editing

2008-11-23 Thread Henry Vermaak
2008/11/23 Arí Ricardo Ody <[EMAIL PROTECTED]>:
> I'm running lazarus 0.9.26 under Mandriva 2008 Spring Free.
>
> I'm receivng the error:
>
>  /usr/bin/ld: cannot find -lglib
>
> during linkage editing.
>
> I think there's one or more libraries missing(or, at least, a symbolic link). 
> How can I discover what is the trouble? Can someone of you explain a 
> step-by-step way of solve it?
>

it means there is a symbolic link missing.  -lglib means it's trying
to link against libglib.so.  you can fix this by installing a package
like libglib-dev, or similar.

henry

___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus