You are not logged in.

#1 2011-12-14 16:18:05

uniquerockrz
Member
From: India
Registered: 2011-11-01
Posts: 14
Website

[SOLVED]Problem in building 'imagination'.

I tried building imagination http://sourceforge.net/projects/imagination/ both using ./configure and make as well as using makepkg. Here are the errors I get. I think that there is no problem in PKGBUILD but in the makefile instead.

.......
......

 CC     imagination-imgtablebutton.o
  CC     imagination-imgcellrendererpixbuf.o
  CC     imagination-img_sox.o
  CCLD   imagination
/usr/bin/ld: imagination-support.o: undefined reference to symbol 'sqrt@@GLIBC_2.0'
/usr/bin/ld: note: 'sqrt@@GLIBC_2.0' is defined in DSO /lib/libm.so.6 so try adding it to the linker command line
/lib/libm.so.6: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[1]: *** [imagination] Error 1
make[1]: Leaving directory `/home/srvmdk/imagination-3.0/src'
make: *** [all-recursive] Error 1

Can anyone tell how to solve this? Something to edit in the makefile, I guess.

Last edited by uniquerockrz (2011-12-15 09:37:03)

Offline

#2 2011-12-14 19:02:38

jomasti
Member
From: USA
Registered: 2010-08-17
Posts: 96

Re: [SOLVED]Problem in building 'imagination'.

Try using

LIBS=-lm ./configure --prefix=/usr

Offline

#3 2011-12-15 09:36:38

uniquerockrz
Member
From: India
Registered: 2011-11-01
Posts: 14
Website

Re: [SOLVED]Problem in building 'imagination'.

jomasti wrote:

Try using

LIBS=-lm ./configure --prefix=/usr

Thanks :-) It worked. Recompiled and installed again. I was using a binary from here

Offline

Board footer

Powered by FluxBB