On Fri, 2002-09-20 at 16:43, Mark Miller wrote:
> 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?

Somehow your Mozilla is being configured incorrectly.  Make sure your
/usr/ports/Mk directory is up-to-date, then do a make clean in the
mozilla directory, and try to rebuild.  It shouldn't be looking for
-lglib, but rather -lglib12.

Joe

> 
> Thanks,
> Mark
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
> 
-- 
PGP Key : http://www.marcuscom.com/pgp.asc


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to