Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2011-02

Old OpenSUSE 10.2 and Laz 29544

13 messages · 6 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

theo

I have an OpenSUSE 10.2 where I succeded to run Lazarus 0.9.31 up to now. After upgrading to 29544, I'm getting this error when trying to build a project

/usr/bin/ld: cannot find -lgdk_pixbuf-2.0

Strange thing is, the IDE has no problems to build itself and is obviously not missing libgdk_pixbuf-2.0

I know I should probably upgrade this Linux Installation, otoh, if a simple solution exists...
Does anybody know what's wrong here?

Thank you
Theo

Lazarus 0.9.31 r29544 FPC 2.4.2 i386-linux-gtk 2

Reply by email

Mark Morgan Lloyd
to theo
theo wrote 17 lines
I have an OpenSUSE 10.2 where I succeded to run Lazarus 0.9.31 up to now. After upgrading to 29544, I'm getting this error when trying to build a project /usr/bin/ld: cannot find -lgdk_pixbuf-2.0 Strange thing is, the IDE has no problems to build itself and is obviously not missing libgdk_pixbuf-2.0 I know I should probably upgrade this Linux Installation, otoh, if a simple solution exists... Does anybody know what's wrong here? Thank you Theo Lazarus 0.9.31 r29544 FPC 2.4.2 i386-linux-gtk 2

Does ls -l /usr/lib/libgdk_pixbuf-2.0* tell you anything useful?

Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues]

Reply by email

theo
to Mark Morgan Lloyd
Mark Morgan Lloyd wrote
Does ls -l /usr/lib/libgdk_pixbuf-2.0* tell you anything useful?

No, this lib doesn't seem to be installed here, but this was no problem so far. I haven't even changed the compiler (*2.4.2 [2010/11/22] for i386) I have only upgraded Lazarus from one of the first 0.9.31 versions to *0.9.31 r29544, and now the linker wants libgdk_pixbuf-2.0.
As I said, this is when I try to build even the simplest project, the IDE itself builds and runs without complaining about this lib, so it is not strictly necessary it seems.

Thank you
Theo

Reply by email

Mattias Gaertner
to theo
Show quoted text 5 lines
I was wrong. The libs are there, but they are in /opt/gnome/lib on this system. For a reason, the latest version doesn't find them like the versions before. If I add -Fl/opt/gnome/lib, everything is fine.

Ah, I thought this was obsolete.

I added it to the LCL.

Mattias

Reply by email

Juha Manninen
to theo: I have an OpenSUSE 10.2 where I succeded to run Lazarus 0.9.31 up to now. After upgrading…

theo kirjoitti maanantai 14 helmikuu 2011 16:15:15:

I know I should probably upgrade this Linux Installation, ..

FYI: OpenSUSE 10.2 supports "zypper dup" (= Distro Update). You don't need to download and burn CD images to update your system. It works also in practice, unlike a similar feature in some other distros. Maybe wait till the new version 10.4 before updating.

Juha

Reply by email

Burkhard Carstens
to Mattias Gaertner: On Mon, 14 Feb 2011 19:27:22 +0100 Ah, I thought this was obsolete. I added it to the LCL.
Mattias Gaertner wrote 12 lines
On Mon, 14 Feb 2011 19:27:22 +0100 theo wrote: > I was wrong. The libs are there, but they are in /opt/gnome/lib on > this system. > For a reason, the latest version doesn't find them like the > versions before. > If I add -Fl/opt/gnome/lib, everything is fine. Ah, I thought this was obsolete. I added it to the LCL.

Could you please add it for gtk1, too?

Thanks,
Burkhard

Reply by email

Mattias Gaertner
to Burkhard Carstens

?
?

Burkhard Carstens hat am 15. Februar 2011 um 11:07 geschrieben:

Show quoted text 15 lines
Am Montag, 14. Februar 2011 20:00 schrieb Mattias Gaertner: > On Mon, 14 Feb 2011 19:27:22 +0100 > > theo wrote: > > I was wrong. The libs are there, but they are in /opt/gnome/lib on > > this system. > > For a reason, the latest version doesn't find them like the > > versions before. > > If? I add -Fl/opt/gnome/lib, everything is fine. > > Ah, I thought this was obsolete. > > I added it to the LCL. Could you please add it for gtk1, too?

Yes, done.

Although I think it would be better to add the path to the fpc.cfg.

Mattias
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110215/419ee4b7/attachment.html>

Reply by email

Hans-Peter Diettrich
to Juha Manninen: theo kirjoitti maanantai 14 helmikuu 2011 16:15:15: FYI: OpenSUSE 10.2 supports "zypper…
Show quoted text 7 lines
theo kirjoitti maanantai 14 helmikuu 2011 16:15:15: > I know I should probably upgrade this Linux Installation, .. FYI: OpenSUSE 10.2 supports "zypper dup" (= Distro Update). You don't need to download and burn CD images to update your system. It works also in practice, unlike a similar feature in some other distros. Maybe wait till the new version 10.4 before updating.

I was happy with 10.3 for a long time, but all newer versions sucked so much that I stopped using trying Kubuntu (KDE) I
finally arrived at Ubuntu and Gnome. At least Ubuntu supports all the KBD and GUI features that have been dropped from OpenSuse 11.

And beware, installing OpenSuse 11 in a multi-boot environment damaged my disk system, making all other previously installed systems unusable! This may be a new version Grub issue...

DoDi

Reply by email

Juha Manninen
to theo

theo kirjoitti tiistai 15 helmikuu 2011 19:42:59:

> Maybe wait till the new version 10.4 before updating. You probably mean 11.4. Yes, I think I'll install this version when it's out.

Sorry yes. I mixed the numbers. It means my original claim was not true either. IIRC "zypper dup" works starting from OpenSuse 11.1. I don't have OpenSuse currently in my main machine but I am planning to switch back.

I read about DoDi's hardware related problems. It can be that OpenSuse doesn't support all HW combinations as well as some other distros. I didn't experience that myself though.

Juha

Reply by email

Hans-Peter Diettrich
to Juha Manninen
I read about DoDi's hardware related problems. It can be that OpenSuse doesn't support all HW combinations as well as some other distros. I didn't experience that myself though.

I cannot see hardware problems here. I had a working system with Windows, Suse 10.3 and other Linux systems on it, that rejected to boot any system after an attempt to install openSuse 11.0 till 11.2.

DoDi

Reply by email