title: linker unable to find __assert_fail
body: <p>I'm trying to build a library that makes use of boost, and while the library compiles OK, it's hitting a weird linker error that I don't understand.  I built and installed Boost 1.54 (also tried 1.52), which went fine.  </p>
  
  <p>It claims to not be able to find __assert_fail, which I think is part of the standard library.  I tried to build everything in 64-bit.  I'm on Fedora 16, using gcc 4.6.3</p>
  
  <p>Any ideas?</p>
  
  <pre>
  make  all-am
  make[1]: Entering directory `/data/adrian/code/ext/mapper/cmappertools'
  /bin/sh ./libtool  --tag=CXX   --mode=link g++  -g -O2    -o libcmappertools.la -rpath /usr/local/lib/python2.7/site-packages cmappertools.lo  
  libtool: link: g++  -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/x86_64-redhat-linux/4.6.3/../../../../lib64/crti.o /usr/lib/gcc/x86_64-redhat-linux/4.6.3/crtbeginS.o  .libs/cmappertools.o   -L/usr/lib/gcc/x86_64-redhat-linux/4.6.3 -L/usr/lib/gcc/x86_64-redhat-linux/4.6.3/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-redhat-linux/4.6.3/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-redhat-linux/4.6.3/crtendS.o /usr/lib/gcc/x86_64-redhat-linux/4.6.3/../../../../lib64/crtn.o  -O2   -Wl,-soname -Wl,libcmappertools.so.0 -o .libs/libcmappertools.so.0.0.0
  .libs/cmappertools.o: In function `condition_variable':
  /usr/local/include/boost/thread/pthread/condition_variable_fwd.hpp:69: undefined reference to `__assert_fail'
  /usr/local/include/boost/thread/pthread/condition_variable_fwd.hpp:69: undefined reference to `__assert_fail'
  .libs/cmappertools.o: In function `~mutex':
  /usr/local/include/boost/thread/pthread/mutex.hpp:108: undefined reference to `__assert_fail'
  .libs/cmappertools.o: In function `condition_variable':
  /usr/local/include/boost/thread/pthread/condition_variable_fwd.hpp:69: undefined reference to `__assert_fail'
  .libs/cmappertools.o: In function `~mutex':
  /usr/local/include/boost/thread/pthread/mutex.hpp:108: undefined reference to `__assert_fail'
  .libs/cmappertools.o:/usr/local/include/boost/smart_ptr/shared_array.hpp:194: more undefined references to `__assert_fail' follow
  /usr/local/bin/ld: .libs/libcmappertools.so.0.0.0: hidden symbol `__assert_fail' isn't defined
  /usr/local/bin/ld: final link failed: Bad value
  collect2: ld returned 1 exit status
  make[1]: *** [libcmappertools.la] Error 1
  make[1]: Leaving directory `/data/adrian/code/ext/mapper/cmappertools'
  make: *** [all] Error 2
  </pre>