Re: /lib/pthread.so.2 is sought during some port compilation
Yuri wrote: Quoting Kris Kennaway <[EMAIL PROTECTED]>: Yes, that's what I am doing. portupgrade -af That is what you are doing now, or what you were doing when you found the problem? It should not occur during a portupgrade -af unless there is a port that is missing registration on some dependencies. Kris That's what I am doing now. When the original problem occurred I was just running 'portupgrade -aP' which was wrong on freshly upgraded to 7.0 machine. OK, cool. Good luck :) Kris ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: /lib/pthread.so.2 is sought during some port compilation
Quoting Kris Kennaway <[EMAIL PROTECTED]>: > > Yes, that's what I am doing. > > portupgrade -af > > That is what you are doing now, or what you were doing when you found > the problem? It should not occur during a portupgrade -af unless there > is a port that is missing registration on some dependencies. > > Kris > That's what I am doing now. When the original problem occurred I was just running 'portupgrade -aP' which was wrong on freshly upgraded to 7.0 machine. Thank you, Yuri ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: /lib/pthread.so.2 is sought during some port compilation
Yuri wrote: Quoting Kris Kennaway <[EMAIL PROTECTED]>: So do I have to rebuild all ports to be able to run on 7.0? Yes. You have to do this whenever you upgrade to a new branch of FreeBSD. The old ports will work until you start upgrading them to new versions, at which point you will end up with binaries linked to two versions of FreeBSD libraries, like libc.so.6 and libc.so.7, and this is a recipe for disaster. Yes, that's what I am doing. portupgrade -af That is what you are doing now, or what you were doing when you found the problem? It should not occur during a portupgrade -af unless there is a port that is missing registration on some dependencies. Kris ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: /lib/pthread.so.2 is sought during some port compilation
Quoting Kris Kennaway <[EMAIL PROTECTED]>: > > So do I have to rebuild all ports to be able to run on 7.0? > > Yes. You have to do this whenever you upgrade to a new branch of > FreeBSD. The old ports will work until you start upgrading them to new > versions, at which point you will end up with binaries linked to two > versions of FreeBSD libraries, like libc.so.6 and libc.so.7, and this is > a recipe for disaster. Yes, that's what I am doing. portupgrade -af Thanks, Yuri ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: /lib/pthread.so.2 is sought during some port compilation
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? Yes. You have to do this whenever you upgrade to a new branch of FreeBSD. The old ports will work until you start upgrading them to new versions, at which point you will end up with binaries linked to two versions of FreeBSD libraries, like libc.so.6 and libc.so.7, and this is a recipe for disaster. Kris ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: /lib/pthread.so.2 is sought during some port compilation
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 <[EMAIL PROTECTED]>: 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=3 --param large-function-growth=2000 --param inline-unit-growth=1 -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=3 --param large-function-growth=2000 --param inline-unit-growth=1 -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 [EMAIL PROTECTED]' /usr/local/lib/libicuuc.so.36: undefined reference to [EMAIL PROTECTED]' /usr/local/lib/libicuuc.so.36: undefined reference to [EMAIL PROTECTED]' /usr/local/lib/libicuuc.so.36: undefined reference to [EMAIL PROTECTED]' /usr/local/lib/libicuuc.so.36: undefined reference to [EMAIL PROTECTED]' /usr/local/lib/libicuuc.so.36:
Re: /lib/pthread.so.2 is sought during some port compilation
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 <[EMAIL PROTECTED]>: > > 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=3 --param large-function-growth=2000 --param inline-unit-growth=1 -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=3 --param large-function-growth=2000 --param inline-unit-growth=1 -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 [EMAIL PROTECTED]' /usr/local/lib/libicuuc.so.36: undefined reference to [EMAIL PROTECTED]' /usr/local/lib/libicuuc.so.36: undefined reference to [EMAIL PROTECTED]' /usr/local/lib/libicuuc.so.36: undefined reference to [EMAIL PROTECTED]' /usr/local/lib/libicuuc.so.36: undefined reference to [EMAIL PROTECTED]' /usr/local/lib/libicuuc.so.36: undef
Re: /lib/pthread.so.2 is sought during some port compilation
Yuri wrote: I tried to compile firefox-2.0.0.10 on 7.0-BETA3. And one linking command failed seeking for malloc_lock symbol required by /lib/pthread.so.2. Obviously it tried to link obsolete /lib/pthread.so.2 with the new /lib/libc.so.7. By reading /usr/src/UPDATING I learn that the default threading library has been replaced by /lib/libthr.so. Why would linker seek for libpthread.so instead of libthr.so? 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 ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"