nospam posted <[EMAIL PROTECTED]>, excerpted below,  on
Sun, 11 Dec 2005 06:12:54 -0500:

> I tried to install gnucash on my gentoo system and I'm not sure why it
> did not work.  I am using gnome-light and after running emerge for
> gnucash, this is the error...
> 
> -----------------------------------------
> collect2: ld returned 1 exit status
> make[3]: *** [libgw-core-utils.la] Error 1
> make[3]: Leaving directory
> `/var/tmp/portage/gnucash-1.8.11/work/gnucash-1.8.11/src/core-utils'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory
> `/var/tmp/portage/gnucash-1.8.11/work/gnucash-1.8.11/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
> `/var/tmp/portage/gnucash-1.8.11/work/gnucash-1.8.11'
> make: *** [all-recursive-am] Error 2
> 
> !!! ERROR: app-office/gnucash-1.8.11 failed.
> !!! Function src_compile, Line 91, Exitcode 2
> !!! make failed
> ----------------------------------------

Generally, we'd need just  a bit before that as well.  ld is used multiple
times in most cases, so knowing /where/ and /why/ it returned exit status
1 (non-zero is error) is useful.

If you take a look, chances are pretty good it's due to libstdc++ or
similar, from gcc.  If so, you need to run fix_libtool_files.sh, with the
name of the affected /old/ version of gcc you want to replace in the *.la
files with the new one.  IOW, don't put your /current/ gcc version in, but
the one that's giving problems.

If that doesn't work, remerging the package owning that *.la file will
almost certainly do the trick.  You can find the package name using 
equery belongs <file>.  (equery is part of gentoolkit, IIRC).

-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman in
http://www.linuxdevcenter.com/pub/a/linux/2004/12/22/rms_interview.html


-- 
[email protected] mailing list

Reply via email to