PKG-CONFIG: libglib.la error

Dan Nicholson dbn.lists at gmail.com
Sat Aug 1 16:45:29 PDT 2009


On Sat, Aug 1, 2009 at 12:17 AM, Ahsan Tariq<ahsan.tariq11 at gmail.com> wrote:

> false cru .libs/libglib.a .libs/garray.o .libs/gcache.o .libs/gcompletion.o
> .libs/gdataset.o .libs/gdate.o .libs/gerror.o .libs/ghash.o .libs/ghook.o
> .libs/giochannel.o .libs/giounix.o .libs/glist.o .libs/gmain.o .libs/gmem.o
> .libs/gmessages.o .libs/gmutex.o .libs/gnode.o .libs/gprimes.o .libs/grel.o
> .libs/gscanner.o .libs/gslist.o .libs/gstrfuncs.o .libs/gstring.o
> .libs/gtimer.o .libs/gtree.o .libs/gutils.o
> make[4]: *** [libglib.la] Error 1

Here it is running "false" instead of "ar" to assemble the static
library. Look at one of the generated Makefiles and search for the AR
variable. I'm guessing that it was not found by configure and it is
instead running "false" as the fallback (stupidly). Try looking at the
output of configure, too. If things are working, you should see a line
like this:

checking for ar... ar

--
Dan


More information about the pkg-config mailing list