Building 2.5.0 / Ubuntu raring 13.04

Derek Atkins warlord at MIT.EDU
Thu Apr 11 09:37:43 EDT 2013


Norbert Holze <asterix52 at gmx.de> writes:

> Hello,
>
> I run into this failure:
>
[snip]
>> /usr/bin/ld: test_sqlbe-utest-gnc-backend-sql.o: undefined reference to symbol 'g_type_check_instance_cast'
>> /usr/bin/ld: note: 'g_type_check_instance_cast' is defined in DSO /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 so try adding it to the linker command line
>> /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0: could not read symbols: Invalid operation
>> collect2: error: ld returned 1 exit status
>> make[6]: *** [test-sqlbe] Fehler 1
>> make[6]: Verlasse Verzeichnis '/home/norbert/Downloads/gnucash/gnucash-2.5.0/gnucash-2.5.0/src/backend/sql/test'
[snip]
>
> I have libglib2.36.0-dev installed.
>
> What could be wrong?

This is the Ubuntu Linker not pulling in implicit dependencies.  You can
probably fix this by added $(GLIB_LIBS) to the LDADD line in the
src/backend/sql/test/Makefile.am

> Best regards,
>
> Norbert

-derek

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available


More information about the gnucash-devel mailing list