From owner-freebsd-questions Fri Sep 20 13:46:16 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 E3A7F37B407 for ; Fri, 20 Sep 2002 13:46:14 -0700 (PDT) Received: from vectors.cx (manifold.vectors.cx [64.163.147.229]) by mx1.FreeBSD.org (Postfix) with ESMTP id CAAB843E65 for ; Fri, 20 Sep 2002 13:46:13 -0700 (PDT) (envelope-from monkey@vectors.cx) Received: from vectors.cx (1625ccb56635b2be0e70e9bb50e1319e@localhost [127.0.0.1]) by vectors.cx (8.12.6/8.12.4) with ESMTP id g8KKkeho002708; Fri, 20 Sep 2002 13:46:40 -0700 (PDT) (envelope-from monkey@vectors.cx) Received: (from monkey@localhost) by vectors.cx (8.12.6/8.12.6/Submit) id g8KKkeQh002707; Fri, 20 Sep 2002 13:46:40 -0700 (PDT) (envelope-from monkey) Date: Fri, 20 Sep 2002 13:46:40 -0700 From: Adam Weinberger To: Mark Miller Cc: freebsd-questions@FreeBSD.ORG Subject: Re: error building mozilla-- cannot find -lglib Message-ID: <20020920204640.GW208@vectors.cx> References: <20020920133208.J87860-100000@soda.csua.berkeley.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020920133208.J87860-100000@soda.csua.berkeley.edu> X-Editor: Vim 6.1 http://www.vim.org X-Mailer: Mutt 1.5 http://www.mutt.org X-URL: http://www.vectors.cx http://www.crackula.com User-Agent: Mutt/1.5.1i 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 when was the last time you updated your ports tree? -Adam >> (09.20.2002 @ 1343 PST): Mark Miller said, in 1.6K: << > 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 > >> end of "error building mozilla-- cannot find -lglib" from Mark Miller << -- "Oh good, my dog found the chainsaw." -Lilo, "Lilo & Stitch" Adam Weinberger adam@vectors.cx http://vectors.cx To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message