[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: tries to link against uninstalled libs
From: |
Russ Allbery |
Subject: |
Re: tries to link against uninstalled libs |
Date: |
Mon, 18 Jan 2010 17:56:03 -0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) |
address@hidden 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 (address@hidden) <http://www.eyrie.org/~eagle/>