[grisbi-devel] Goffice major dependency and linking error

Martin Stromberger ma.stromberger at gmx.at
Sun Jan 13 15:18:44 CET 2013


Hi,

Today I've made an update for german translation and noticed 2 things

a) Goffice
Till 2 or three months ago goffice was an optional dependency, today  I got:

configure: error: Package requirements (gtk+-2.0 >= 2.2.24 glib-2.0 >= 
2.28 zlib libgoffice-0.8 >= 0.8.14) were not met:
No package 'libgoffice-0.8' found

It would be nice for KDE Users (like me) that goffice is not a major 
dependency for grisbi


b) Linking Error
Compiling on Linux (Archlinux with gcc 4.7) throws following error:

/usr/bin/ld: ./.libs/libgrisbi.a(print_transactions_list.o): undefined 
reference to symbol 'floor@@GLIBC_2.0'
/usr/bin/ld: note: 'floor@@GLIBC_2.0' is defined in DSO 
/usr/lib/libm.so.6 so try adding it to the linker command line
/usr/lib/libm.so.6: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make[3]: *** [grisbi] Fehler 1
make[3]: Leaving directory `/src/cvs/grisbi/grisbi_work/src'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/src/cvs/grisbi/grisbi_work/src'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/src/cvs/grisbi/grisbi_work'

I was able to compile grisbi with this workaround: export 
LDFLAGS="$LDFLAGS -lm"

greetings
Martin



More information about the devel mailing list