Date: Fri, 20 Sep 2002 13:46:40 -0700 From: Adam Weinberger <adam@vectors.cx> To: Mark Miller <joup@bigfoot.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: error building mozilla-- cannot find -lglib Message-ID: <20020920204640.GW208@vectors.cx> In-Reply-To: <20020920133208.J87860-100000@soda.csua.berkeley.edu> References: <20020920133208.J87860-100000@soda.csua.berkeley.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020920204640.GW208>
