From owner-freebsd-hackers@FreeBSD.ORG Thu Nov 29 02:56:54 2007 Return-Path: Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 91C2716A468; Thu, 29 Nov 2007 02:56:54 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout1.cac.washington.edu (mxout1.cac.washington.edu [140.142.32.134]) by mx1.freebsd.org (Postfix) with ESMTP id 82A6B13C4CC; Thu, 29 Nov 2007 02:56:54 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.32.141] (may be forged)) by mxout1.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW07.09) with ESMTP id lAT2urrI031870 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 28 Nov 2007 18:56:53 -0800 X-Auth-Received: from dzihan.cs.washington.edu (dzihan.cs.washington.edu [128.208.4.96]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW07.09) with ESMTP id lAT2uqBH004302 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 28 Nov 2007 18:56:53 -0800 Message-ID: <474E2A74.9050502@u.washington.edu> Date: Wed, 28 Nov 2007 18:56:52 -0800 From: Garrett Cooper User-Agent: Thunderbird 2.0.0.6 (X11/20071003) MIME-Version: 1.0 To: Yuri References: <1196295955.474e0713b530b@webmail.rawbw.com> <474E0DFE.9000706@FreeBSD.org> <1196299014.474e1306ab62e@webmail.rawbw.com> In-Reply-To: <1196299014.474e1306ab62e@webmail.rawbw.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-PMX-Version: 5.3.3.310218, Antispam-Engine: 2.5.2.313940, Antispam-Data: 2007.11.28.183910 X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0, __USER_AGENT 0' Cc: freebsd-hackers@FreeBSD.org, Kris Kennaway Subject: Re: /lib/pthread.so.2 is sought during some port compilation X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Nov 2007 02:56:54 -0000 Yuri wrote: > Sorry about that. > Please find the logs below. > > My system is upgraded from 6.3. And /lib/libpthread.so.2 is not a symlink. > But when I make it a symlink (ln -s /lib/libthr.so.3 /lib/libpthread.so.2) > I get another error, see log below. > > Some requisite libs are compiled with /lib/libpthread.so.2 (?) and now > firefox is being compiled with a new libc.so.7. > > So do I have to rebuild all ports to be able to run on 7.0? > > UPDATES file doesn't say anything about this beyond the line that it was replaced. > > Yuri > > Quoting Kris Kennaway : > > >> libpthread is a symlink to libthr on a correctly functioning FreeBSD 7.0 >> installation. >> >> In general, when you encounter a problem you need to cut and paste the >> exact errors, instead of typing from memory and getting it wrong (there >> is no "/lib/pthread.so.2", etc). Showing us the errors mean that we are >> more likely to understand your problem and help you to fix it. >> >> Kris >> >> > > > -- build log with /lib/libpthread.so.2 as a file from 6.3 -- > > /usr/ports/www/firefox/work/mozilla/config/nsinstall -R -m 755 xpt_dump xpt_link > ../../../../dist/sdk/bin > gmake[6]: Leaving directory > `/usr/ports/www/firefox/work/mozilla/xpcom/typelib/xpt/tools' > gmake[5]: Leaving directory > `/usr/ports/www/firefox/work/mozilla/xpcom/typelib/xpt/tools' > gmake[4]: Leaving directory `/usr/ports/www/firefox/work/mozilla/xpcom/typelib/xpt' > gmake[4]: Entering directory > `/usr/ports/www/firefox/work/mozilla/xpcom/typelib/xpidl' > gmake[5]: Entering directory > `/usr/ports/www/firefox/work/mozilla/xpcom/typelib/xpidl' > cc -o xpidl -I/usr/local/include/nss -I/usr/local/include/nss/nss > -I/usr/local/include -I/usr/local/include -Wall -W -Wno-unused -Wpointer-arith > -Wcast-align -Wno-long-long -I/usr/local/include -O5 -fno-strict-aliasing -pipe > -finline-limit=5000 -funit-at-a-time --param max-inline-insns-single=5000 > --param max-inline-insns-auto=1200 --param large-function-insns=30000 --param > large-function-growth=2000 --param inline-unit-growth=10000 -funroll-loops > -fpeel-loops -funswitch-loops -march=i386 -O2 -fno-strict-aliasing -O2 -pipe > -DNDEBUG -DTRIMMED -O2 -I/usr/local/include/libIDL-2.0 > -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include xpidl.o > xpidl_idl.o xpidl_util.o xpidl_header.o xpidl_typelib.o xpidl_doc.o xpidl_java.o > -L/usr/local/lib/nss -Wl,-rpath,/usr/local/lib/firefox -L../../../dist/bin > -L../../../dist/lib ../../../dist/lib/libxpt.a -L/usr/local/lib -lIDL-2 > -lglib-2.0 -liconv -lm -pthread -pthread -L/usr/local/lib -liconv > /usr/bin/ld: warning: libm.so.4, needed by /usr/local/lib/libicui18n.so.36, may > conflict with libm.so.5 > /lib/libpthread.so.2: undefined reference to `__malloc_lock' > gmake[5]: *** [xpidl] Error 1 > gmake[5]: Leaving directory > `/usr/ports/www/firefox/work/mozilla/xpcom/typelib/xpidl' > gmake[4]: *** [export] Error 2 > gmake[4]: Leaving directory > `/usr/ports/www/firefox/work/mozilla/xpcom/typelib/xpidl' > gmake[3]: *** [export] Error 2 > gmake[3]: Leaving directory `/usr/ports/www/firefox/work/mozilla/xpcom/typelib' > gmake[2]: *** [export] Error 2 > gmake[2]: Leaving directory `/usr/ports/www/firefox/work/mozilla/xpcom' > gmake[1]: *** [tier_2] Error 2 > gmake[1]: Leaving directory `/usr/ports/www/firefox/work/mozilla' > gmake: *** [default] Error 2 > *** Error code 2 > > -- error log with /lib/libpthread.so.2 as a symlink to /linnb/libthr.so.3 -- > > gmake[4]: Entering directory > `/usr/ports/www/firefox/work/mozilla/xpcom/typelib/xpidl' > gmake[5]: Entering directory > `/usr/ports/www/firefox/work/mozilla/xpcom/typelib/xpidl' > cc -o xpidl -I/usr/local/include/nss -I/usr/local/include/nss/nss > -I/usr/local/include -I/usr/local/include -Wall -W -Wno-unused -Wpointer-arith > -Wcast-align -Wno-long-long -I/usr/local/include -O5 -fno-strict-aliasing -pipe > -finline-limit=5000 -funit-at-a-time --param max-inline-insns-single=5000 > --param max-inline-insns-auto=1200 --param large-function-insns=30000 --param > large-function-growth=2000 --param inline-unit-growth=10000 -funroll-loops > -fpeel-loops -funswitch-loops -march=i386 -O2 -fno-strict-aliasing -O2 -pipe > -DNDEBUG -DTRIMMED -O2 -I/usr/local/include/libIDL-2.0 > -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include xpidl.o > xpidl_idl.o xpidl_util.o xpidl_header.o xpidl_typelib.o xpidl_doc.o xpidl_java.o > -L/usr/local/lib/nss -Wl,-rpath,/usr/local/lib/firefox -L../../../dist/bin > -L../../../dist/lib ../../../dist/lib/libxpt.a -L/usr/local/lib -lIDL-2 > -lglib-2.0 -liconv -lm -pthread -pthread -L/usr/local/lib -liconv > /usr/bin/ld: warning: libm.so.4, needed by /usr/local/lib/libicui18n.so.36, may > conflict with libm.so.5 > /usr/local/lib/libicuuc.so.36: undefined reference to `close@LIBTHREAD_1_0' > /usr/local/lib/libicuuc.so.36: undefined reference to `open@LIBTHREAD_1_0' > /usr/local/lib/libicuuc.so.36: undefined reference to > `pthread_mutex_init@LIBTHREAD_1_0' > /usr/local/lib/libicuuc.so.36: undefined reference to > `pthread_mutex_unlock@LIBTHREAD_1_0' > /usr/local/lib/libicuuc.so.36: undefined reference to > `pthread_mutex_destroy@LIBTHREAD_1_0' > /usr/local/lib/libicuuc.so.36: undefined reference to > `pthread_mutex_lock@LIBTHREAD_1_0' > gmake[5]: *** [xpidl] Error 1 > gmake[5]: Leaving directory > `/usr/ports/www/firefox/work/mozilla/xpcom/typelib/xpidl' > gmake[4]: *** [export] Error 2 > gmake[4]: Leaving directory > `/usr/ports/www/firefox/work/mozilla/xpcom/typelib/xpidl' > gmake[3]: *** [export] Error 2 > gmake[3]: Leaving directory `/usr/ports/www/firefox/work/mozilla/xpcom/typelib' > gmake[2]: *** [export] Error 2 > gmake[2]: Leaving directory `/usr/ports/www/firefox/work/mozilla/xpcom' > gmake[1]: *** [tier_2] Error 2 > gmake[1]: Leaving directory `/usr/ports/www/firefox/work/mozilla' > gmake: *** [default] Error 2 > *** Error code 2 This is most likely your problem: /usr/bin/ld: warning: libm.so.4, needed by /usr/local/lib/libicui18n.so.36, may conflict with libm.so.5 Try "make delete-old-libs" from /usr/src. -Garrett