mega...@gmail.com writes:

> I am trying to compile cfengine 3.03 under Solaris10/SPARC. My system
> previously had a large number of Sun Freeware packages (which install
> under  /usr/local/) that have now been removed.

> However, during link libtool carps with the following errors:
> grep: can't open /usr/local/lib/libfontconfig.la
> Can't open /usr/local/lib/libfontconfig.la
> libtool: link: `/usr/local/lib/libfontconfig.la' is not a valid libtool
> archive

> Cfengine does not link against fontconfig, however fontconfig was one of
> the packages that was previously installed then removed. I cant work out
> why libtool is trying to link against a library that is not being used or
> mentioned in the package being built.

It's linking against some other package which has a *.la file that
mentions fontconfig.  Grep for fontconfig in the *.la files of all your
installed libraries.

-- 
Russ Allbery (r...@stanford.edu)             <http://www.eyrie.org/~eagle/>


_______________________________________________
http://lists.gnu.org/mailman/listinfo/libtool

Reply via email to