cannot find -lgnc-backend-file-utils
Derek Atkins
warlord at MIT.EDU
Tue Feb 19 11:50:38 EST 2008
Hi,
Please remember to cc gnucash-devel on all your replies using
your mailer's Reply-To-List or Reply-All features..
"Martin Meyer" <elreydetodo at gmail.com> writes:
> No, this ebuild forces -j1. I actually asked about that in IRC and was
> told that gnucash is known not to play will with paralell building.
> Also, I did an ls and that .la file definitely *does* exist in the
> build tree.
What happens if you run "make" a second time?
(Note: I said "make", not "rebuild the package")
-derek
> Martin
>
> On Feb 18, 2008 11:09 PM, Derek Atkins <warlord at mit.edu> wrote:
>> Hi,
>>
>> By any chance are you running "make -j 2" (or make -j with any
>> number > 1)? I only ask because it's possible that there's a
>> race condition and it's trying to build the second library
>> before the first.
>>
>> -derek
>>
>>
>> Quoting Martin Meyer <elreydetodo at gmail.com>:
>>
>> > Hi all!
>> >
>> > I'm working on a Gentoo box and I'm having issues getting gnucash
>> > 2.2.3 to build. The arch is amd64 (i.e. x86_64), and the processor is
>> > a core 2 quad. I spoke with jsled on IRC for a while and I seem to
>> > have stumped him on this issue. You can find the IRC log here:
>> >
>> > http://lists.gnucash.org/logs/2008/02/2008-02-18.html#T21:50:18
>> >
>> > Here's my build log from right before the failure:
>> >
>> > libtool: install: warning: relinking `libgncmod-backend-file.la'
>> > (cd
>> > /var/tmp/portage/app-office/gnucash-2.2.3-r1/work/gnucash-2.2.3/src/backend/file;
>> > /bin/sh ../../../libtool --tag=CC --mode=relink
>> > x86_64-pc-linux-gnu-gcc -I.. -I../.. -DLOCALE_DIR="/usr/share/locale"
>> > -I../../../src/backend -I../../../src/engine -I../../../src/core-utils
>> > -I../../../lib/libc -I/usr/include/libxml2 -I../../../lib/libqof/qof
>> > -I../../../lib/libqof/qof -pthread -I/usr/include/glib-2.0
>> > -I/usr/lib64/glib-2.0/include -DORBIT2=1 -pthread
>> > -I/usr/include/gconf/2 -I/usr/include/orbit-2.0
>> > -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
>> > -Wdeclaration-after-statement -Wno-pointer-sign -D_FORTIFY_SOURCE=2
>> > -march=nocona -pipe -g -O2 -Wall -Wunused -Wmissing-prototypes
>> > -Wmissing-declarations -Wno-unused -module -avoid-version -g -o
>> > libgncmod-backend-file.la -rpath /usr/lib64/gnucash
>> > gnc-backend-file.lo -pthread -Wl,--export-dynamic -lgthread-2.0 -lrt
>> > -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lgconf-2 -lglib-2.0
>> > -lxml2 ../../../src/engine/libgncmod-engine.la
>> > ../../../src/core-utils/libgnc-core-utils.la
>> > ../../../src/backend/file/libgnc-backend-file-utils.la
>> > ../../../lib/libqof/qof/libgnc-qof.la -lpopt -lm -lm -inst-prefix-dir
>> > /var/tmp/portage/app-office/gnucash-2.2.3-r1/image/)
>> > x86_64-pc-linux-gnu-gcc -shared .libs/gnc-backend-file.o -Wl,--rpath
>> > -Wl,/usr/lib64/gnucash
>> > -L/var/tmp/portage/app-office/gnucash-2.2.3-r1/image//usr/lib64
>> > -L/usr/lib64 -lgthread-2.0 -lrt -lgobject-2.0 -lgmodule-2.0 -ldl
>> > -lgconf-2 -lglib-2.0 -lxml2
>> > -L/var/tmp/portage/app-office/gnucash-2.2.3-r1/image//usr/lib64/gnucash
>> > -L/usr/lib64/gnucash -lgncmod-engine -lgnc-core-utils
>> > -lgnc-backend-file-utils -lgnc-qof -lpopt -lm -pthread -pthread
>> > -march=nocona -pthread -Wl,--export-dynamic -Wl,-soname
>> > -Wl,libgncmod-backend-file.so -o .libs/libgncmod-backend-file.so
>> > /usr/lib/gcc/x86_64-pc-linux-gnu/4.2.3/../../../../x86_64-pc-linux-gnu/bin/ld:
>> > cannot find -lgnc-backend-file-utils
>> > collect2: ld returned 1 exit status
>> > libtool: install: error: relink `libgncmod-backend-file.la' with the
>> > above command before installing it
>> > make[6]: *** [install-pkglibLTLIBRARIES] Error 1
>> > make[6]: *** Waiting for unfinished jobs....
>> > x86_64-pc-linux-gnu-gcc -shared .libs/gnc-account-xml-v2.o
>> > .libs/gnc-book-xml-v2.o .libs/gnc-budget-xml-v2.o
>> > .libs/gnc-commodity-xml-v2.o .libs/gnc-freqspec-xml-v2.o
>> > .libs/gnc-lot-xml-v2.o .libs/gnc-pricedb-xml-v2.o
>> > .libs/gnc-recurrence-xml-v2.o .libs/gnc-schedxaction-xml-v2.o
>> > .libs/gnc-transaction-xml-v2.o .libs/io-example-account.o
>> > .libs/io-gncxml-gen.o .libs/io-gncxml-v1.o .libs/io-gncxml-v2.o
>> > .libs/io-utils.o .libs/sixtp-dom-generators.o
>> > .libs/sixtp-dom-parsers.o .libs/sixtp-stack.o
>> > .libs/sixtp-to-dom-parser.o .libs/sixtp-utils.o .libs/sixtp.o
>> > -Wl,--rpath -Wl,/usr/lib64/gnucash
>> > -L/var/tmp/portage/app-office/gnucash-2.2.3-r1/image//usr/lib64
>> > -L/usr/lib64 -lgthread-2.0 -lrt -lgobject-2.0 -lgmodule-2.0 -ldl
>> > -lgconf-2 -lglib-2.0 -lxml2
>> > -L/var/tmp/portage/app-office/gnucash-2.2.3-r1/image//usr/lib64/gnucash
>> > -L/usr/lib64/gnucash -lgncmod-engine -lgnc-core-utils -lgnc-qof -lpopt
>> > -lm -pthread -pthread -march=nocona -pthread -Wl,--export-dynamic
>> > -Wl,-soname -Wl,libgnc-backend-file-utils.so.0 -o
>> > .libs/libgnc-backend-file-utils.so.0.0.0
>> > /usr/bin/install -c .libs/libgnc-backend-file-utils.so.0.0.0T
>> > /var/tmp/portage/app-office/gnucash-2.2.3-r1/image//usr/lib64/libgnc-backend-file-utils.so.0.0.0
>> > (cd /var/tmp/portage/app-office/gnucash-2.2.3-r1/image//usr/lib64 && {
>> > ln -s -f libgnc-backend-file-utils.so.0.0.0
>> > libgnc-backend-file-utils.so.0 || { rm -f
>> > libgnc-backend-file-utils.so.0 && ln -s
>> > libgnc-backend-file-utils.so.0.0.0 libgnc-backend-file-utils.so.0; };
>> > })
>> > (cd /var/tmp/portage/app-office/gnucash-2.2.3-r1/image//usr/lib64 && {
>> > ln -s -f libgnc-backend-file-utils.so.0.0.0
>> > libgnc-backend-file-utils.so || { rm -f libgnc-backend-file-utils.so
>> > && ln -s libgnc-backend-file-utils.so.0.0.0
>> > libgnc-backend-file-utils.so; }; })
>> > /usr/bin/install -c .libs/libgnc-backend-file-utils.lai
>> > /var/tmp/portage/app-office/gnucash-2.2.3-r1/image//usr/lib64/libgnc-backend-file-utils.la
>> > libtool: install: warning: remember to run `libtool --finish /usr/lib64'
>> > make[6]: Leaving directory
>> > `/var/tmp/portage/app-office/gnucash-2.2.3-r1/work/gnucash-2.2.3/src/backend/file'
>> > make[5]: *** [install-am] Error 2
>> > make[5]: Leaving directory
>> > `/var/tmp/portage/app-office/gnucash-2.2.3-r1/work/gnucash-2.2.3/src/backend/file'
>> > make[4]: *** [install-recursive] Error 1
>> > make[4]: Leaving directory
>> > `/var/tmp/portage/app-office/gnucash-2.2.3-r1/work/gnucash-2.2.3/src/backend/file'
>> > make[3]: *** [install-recursive] Error 1
>> > make[3]: Leaving directory
>> > `/var/tmp/portage/app-office/gnucash-2.2.3-r1/work/gnucash-2.2.3/src/backend'
>> > make[2]: *** [install-recursive] Error 1
>> > make[2]: Leaving directory
>> > `/var/tmp/portage/app-office/gnucash-2.2.3-r1/work/gnucash-2.2.3/src'
>> > make[1]: *** [install-recursive] Error 1
>> > make[1]: Leaving directory
>> > `/var/tmp/portage/app-office/gnucash-2.2.3-r1/work/gnucash-2.2.3'
>> > make: *** [install] Error 2
>> >
>> >
>> > I have verified the existance of
>> > src/backend/file/libgnc-backend-file-utils.la in my build tree, it's
>> > not clear what the issue is here. Does anyone on the list have any
>> > thoughts?
>> >
>> > Thanks!
>> > Martin
>> > _______________________________________________
>> > gnucash-devel mailing list
>> > gnucash-devel at gnucash.org
>> > https://lists.gnucash.org/mailman/listinfo/gnucash-devel
--
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