Error building GC - invalid path for library

Chris Shoemaker c.shoemaker at cox.net
Mon Dec 19 12:46:59 EST 2005


On Sun, Dec 18, 2005 at 03:02:00PM -0500, Derek Atkins wrote:
> you updated gcc..  "make clean" and try again.  If that fails, then
> "make distclean", ./configure, and then try again.

I have this error in a case where even the above did not fix it.
IIRC, this arose when I upgraded gcc AND did a `svn update` that
removed libraries.  Somehow, the libtool-generated files were not
removed and the configure/distclean cycle either wouldn't remove them
or wouldn't complete.  I don't recall which.

This may be a bug in libtool or automake.  If it happens again, I'll
pay closer attention.  For now, I'd recommend that you follow any
gcc upgrade with configure/distclean *before* `svn update`.

-chris

> 
> -derek
> 
> Quoting Volker Englisch <Volker at englisch.us>:
> 
> >I'm trying to rebuild G2 and I am getting an error message building 
> >the source (Rev 12166) with the following error message:
> >   libtool: link: cannot find the library
> >   `/usr/lib/gcc/i386-redhat-linux/4.0.1/../../..//libpopt.la'
> >   make[4]: *** [libcore-utils.la] Error 1
> >
> >The path to the library is incorrect on my system (FC4).  It should 
> >instead be
> >  /usr/lib/gcc/i386-redhat-linux/4.0.2/../../..//libpopt.la
> >
> >Needless to say, my version of gcc is 4.0.2. :-)
> >
> >-- 
> >Thanks
> >
> >    Volker Englisch
> >
> >mailto:Volker at Englisch.us    (h)
> >_______________________________________________
> >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
> 
> _______________________________________________
> gnucash-devel mailing list
> gnucash-devel at gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-devel


More information about the gnucash-devel mailing list