its on of the missing -fPIC issues here is the error. if someone needs more data ill try to provide it cc/x86_64-pc-linux-gnu/3.4.4/libstdc++.so -lm -lc -lgcc_s /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../lib/crtn.o -o .libs/libdb_cxx-4.2.so /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: .libs/cxx_db.o: relocation R_X86_64_32S against `vtable for Db' can not be used when making a shared object; recompile with -fPIC .libs/cxx_db.o: could not read symbols: Bad value collect2: ld returned 1 exit status make[1]: *** [libdb_cxx-4.2.la] Error 1 make[1]: Leaving directory `/var/tmp/portage/openoffice-2.0.1/work/ooo-build-2.0.1/build/ooa680-m1/berkeleydb/unxlngx6.pro/misc/build/db-4.2.52.NC/out' dmake: Error code 2, while making './unxlngx6.pro/misc/build/so_built_so_berkeleydb' '---* tg_merge.mk *---' ERROR: Error 65280 occurred while making /var/tmp/portage/openoffice-2.0.1/work/ooo-build-2.0.1/build/ooa680-m1/berkeleydb make: *** [stamp/build] Error 1
That's why it's missing amd64 keyword.