* * *

Author Topic: Compiling laz 64 bit GTK linking failure  (Read 276 times)

desmondc

  • New member
  • *
  • Posts: 9
Compiling laz 64 bit GTK linking failure
« on: January 16, 2018, 07:48:20 pm »
Hi guys,

I give up. Anyone can help me with this? I'm compiling laz from source on x86_64 platform. It compiles all the way, but linking fails. I've installed all the OS packages i can think of, but still the same linking problem:

make bigide
.......................
.......................
/usr/bin/ld: warning: ../link.res contains output sections; did you forget -T?
/usr/bin/ld: cannot find -lgtk-x11-2.0
/usr/bin/ld: cannot find -lgdk-x11-2.0
/usr/bin/ld: cannot find -lpango-1.0
/usr/bin/ld: cannot find -lcairo
/usr/bin/ld: cannot find -lpangocairo-1.0


My exact same build on a 32bit platform is perfect. If anyone can give me the list of shared objects that is required, I can go look for the packages that may contain them.

Any help will be appreciated. I'm sure this question has been answered before, but i can't seem to find the answer.

Thanks.

mischi

  • Jr. Member
  • **
  • Posts: 84
Re: Compiling laz 64 bit GTK linking failure
« Reply #1 on: January 16, 2018, 08:02:17 pm »
maybe, you have all libraries, but only as 32bit version and not in 64bit version. Check the presence of the libs in /usr/lib or wherever your libs are located and make sure they are 64bit.

MiSchi

desmondc

  • New member
  • *
  • Posts: 9
Re: Compiling laz 64 bit GTK linking failure
« Reply #2 on: January 16, 2018, 08:09:14 pm »
Thanks.

It would help if i knew which libs.

desmondc

  • New member
  • *
  • Posts: 9
Re: Compiling laz 64 bit GTK linking failure
« Reply #3 on: January 16, 2018, 08:46:43 pm »
I managed to get laz to link.

I used another repo, which lead to this:
Solution 1: Following actions will be done:
  downgrade of libgtk-2_0-0-2.24.31-4.17.2.x86_64 to libgtk-2_0-0-2.24.24-4.1.9.x86_64


It linked after this downgrade. Weird. But then again, the distro is in an abandoned state and this platform is not scheduled for upgrade anytime soon. Lots of sports. openSuSE 13.2 x86_64

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus