"undefined reference to symbol" and "is defined in DSO"
I am trying to build an application (GnuCash) from source on Ubuntu 12.04. The ./configure and make complete without an error. During 'make check' , the linker gives the following output:
../../.
/usr/bin/ld: ../../.
/usr/bin/ld: note: 'gnc_get_
/home/paul/
collect2: ld returned 1 exit status
make[6]: *** [test-dbi-basic] Error 1
make[6]: Leaving directory `/home/
make[5]: *** [check-am] Error 2
make[5]: Leaving directory `/home/
make[4]: *** [check-recursive] Error 1
make[4]: Leaving directory `/home/
make[3]: *** [check-recursive] Error 1
make[3]: Leaving directory `/home/
make[2]: *** [check-recursive] Error 1
make[2]: Leaving directory `/home/
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/home/
make: *** [check-recursive] Error 1
paul@celeron:
I expect the make check to complete without errors. Instead there is an undefined reference to symbol 'gnc_get_
I understand that the linker is telling me to explicitly link to the required DSO but I do not know how to do this. Can someone help me out?
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu gnucash Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Manfred Hampl
- Solved:
- Last query:
- Last reply: