On Fri, May 17, 2013 at 09:49:20PM -0500, Michael Gass wrote: > On Fri, May 17, 2013 at 11:55:13AM -0700, Jeremy Chadwick wrote: > > On Fri, May 17, 2013 at 12:56:53PM -0500, Michael Gass wrote: > > > Running 9.0-Stable on an i386. > > > > > > Whenever I type a command at the prompt I get > > > the output > > > > > > /usr/local/lib/libintl.so.9: Undefined symbol "_ThreadRuneLocale" > > > > > > and nothing else - the command will not run. Just the > > > above output. Commands like "ls" and "exit" work, but not much > > > else. This happends whether I am logged in a user or as root. > > > Cannot even halt the system from the command line. > > > > > > Started to happen after trying to update the freetype2 port. > > > Got an error msg while updating libXft-2.1.14. From that point > > > on I cannot use the command line. > > > > > > I have no idea what to try. Any suggestions. > > > > > > First provide the contents of /etc/make.conf and /etc/src.conf. > > > > Thanks for getting back to me. Here are the contents of the two > files. I rebuilt the kernel last fall and have updated ports > fairly regularly since. Things have worked fine until today when > I tried to update ports. > > # File: make.conf > # The ? in the below is for buildworld > CPUTYPE?=pentium2 > # Uncomment the below for general builds. > CFLAGS= -O -pipe > # Uncomment the below for kernel builds. > # COPTFLAGS= -O -pipe > NO_PROFILE=true > INSTALL_NODEBUG=true > #WITHOUT_DILLO_IPV6=yes > #WITH_DILLO_DLGUI=yes > # added by use.perl 2013-05-17 11:04:30 > PERL_VERSION=5.12.4 > > # File: src.conf > WITHOUT_PROFILE=true > WITHOUT_BLUETOOTH=true
These confs look generally good, meaning there isn't the "messing about" that the other user had. I did catch one thing, however. Speaking strictly about CFLAGS: This should be CFLAGS+= (plus-equals), not CFLAGS= (equals). Otherwise you're effectively overriding CFLAGS for everything, which could cause issues (some portions of the build infrastructure may set or adjust the optimiser flags to something other than -O, and you'd be forcing it to do it anyway). I obviously don't know if that could/would explain the missing symbol issue, but it's still something that's erroneous and major. In general I recommend people *do not* tinker with CFLAGS at all in make.conf -- it's not worth the hassle on i386/amd64 if something goes wrong. If you ever want to know which syntaxes to use (for example, your CPUTYPE?= is correct, and your COPTFLAGS= is correct), review /usr/share/examples/etc/make.conf or src/share/examples/etc/make.conf. Unrelated to all of this (just a useful comment in passing): NO_PROFILE serves no purpose there, just keep WITHOUT_PROFILE=true in src.conf like you have. NO_PROFILE in make.conf would be from "old" FreeBSD days (i.e. prior to src.conf existing). Your src.conf looks fine. Sorry I can't be of more help. :-( -- | Jeremy Chadwick [email protected] | | UNIX Systems Administrator http://jdc.koitsu.org/ | | Mountain View, CA, US | | Making life hard for others since 1977. PGP 4BD6C0CB | _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[email protected]"
