Date: Fri, 20 Sep 2002 13:43:00 -0700 (PDT) From: Mark Miller <joup@bigfoot.com> To: freebsd-questions@freebsd.org Subject: error building mozilla-- cannot find -lglib Message-ID: <20020920133208.J87860-100000@soda.csua.berkeley.edu>
index | next in thread | raw e-mail
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
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020920133208.J87860-100000>
