From owner-freebsd-questions Fri Sep 20 13:43: 3 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BC24437B401 for ; Fri, 20 Sep 2002 13:43:01 -0700 (PDT) Received: from soda.csua.berkeley.edu (soda.CSUA.Berkeley.EDU [128.32.112.233]) by mx1.FreeBSD.org (Postfix) with ESMTP id 59B3543E42 for ; Fri, 20 Sep 2002 13:43:01 -0700 (PDT) (envelope-from joup@bigfoot.com) Received: from soda.csua.berkeley.edu (IDENT:oVKkeldaMZg7AXbtq/71MjTbaugeOo6J@localhost [127.0.0.1]) by soda.csua.berkeley.edu (8.12.3/8.12.3) with ESMTP id g8KKh1VR090371 for ; Fri, 20 Sep 2002 13:43:01 -0700 (PDT) (envelope-from joup@bigfoot.com) Received: from localhost (mjm@localhost) by soda.csua.berkeley.edu (8.12.3/8.12.3/Submit) with ESMTP id g8KKh0SW090368 for ; Fri, 20 Sep 2002 13:43:00 -0700 (PDT) X-Authentication-Warning: soda.csua.berkeley.edu: mjm owned process doing -bs Date: Fri, 20 Sep 2002 13:43:00 -0700 (PDT) From: Mark Miller X-X-Sender: mjm@soda.csua.berkeley.edu To: freebsd-questions@freebsd.org Subject: error building mozilla-- cannot find -lglib Message-ID: <20020920133208.J87860-100000@soda.csua.berkeley.edu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, I'm trying to build mozilla from ports and I get the following error: gmake[4]: Entering directory `/usr/ports/www/mozilla/work/mozilla/xpcom/typelib/xpidl' cc -o xpidl -I/usr/X11R6/include -I/usr/X11R6/include -Wall -W -Wno-unused -Wpointer-arith -Wcast-alig n -Wno-long-long -O -pipe -march=pentiumpro -pipe -DNDEBUG -DTRIMMED -ffunction-sections -I/usr/local/ include/glib12 -I/usr/local/include/orbit-1.0 -I/usr/local/include xpidl.o xpidl_idl.o xpidl_util.o xp idl_header.o xpidl_typelib.o xpidl_doc.o xpidl_java.o -L../../../dist/bin -L../../../dist/lib ../../. ./dist/lib/libxpt.a -L/usr/local/lib -lIDL -lglib -lm /usr/libexec/elf/ld: cannot find -lglib gmake[4]: *** [xpidl] Error 1 gmake[4]: Leaving directory `/usr/ports/www/mozilla/work/mozilla/xpcom/typelib/xpidl' gmake[3]: *** [export] Error 2 gmake[3]: Leaving directory `/usr/ports/www/mozilla/work/mozilla/xpcom/typelib' gmake[2]: *** [export] Error 2 gmake[2]: Leaving directory `/usr/ports/www/mozilla/work/mozilla/xpcom' gmake[1]: *** [tier_9] Error 2 gmake[1]: Leaving directory `/usr/ports/www/mozilla/work/mozilla' gmake: *** [default] Error 2 *** Error code 2 I deleted and then reinstalled glib via ports, and ran ldconfig -R to update the hints file. Here's what my system looks like now: % ldconfig -r |grep glib 303:-lglib12.3 => /usr/local/lib/libglib12.so.3 % ls -l /usr/local/lib/libglib12.so.3 -rwxr-xr-x 1 root wheel 163973 Sep 19 20:45 /usr/local/lib/libglib12.so.3* Why would ld be unable to find glib? Is there something I'm doing wrong? Thanks, Mark To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message