Hello I have problems with emerging exim on ppc. This is what i get. gcc -c -O3 -mcpu=604 -pipe -o exim_dbmbuild.o exim_dbmbuild.c gcc -o exim_dbmbuild exim_dbmbuild.o \ -lnsl -lcrypt -lpam -lwrap -ldb exim_dbmbuild.o(.text+0x39c): In function `main': : undefined reference to `db_create' collect2: ld returned 1 exit status make[1]: *** [exim_dbmbuild] Error 1 make[1]: Leaving directory `/var/tmp/portage/exim-4.34-r1/work/exim-4.34/build-exim-gentoo' make: *** [go] Error 2 !!! ERROR: mail-mta/exim-4.34-r1 failed. !!! Function src_compile, Line 177, Exitcode 2 !!! make failed thomas@sancho thomas $ emerge info Portage 2.0.50-r8 (default-ppc-2004.1, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.7-gentoo-r8) ================================================================= System uname: 2.6.7-gentoo-r8 ppc 604r Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="ppc" AUTOCLEAN="yes" CFLAGS="-O3 -mcpu=604 -pipe" CHOST="powerpc-unknown-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O3 -mcpu=604 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="ccache" GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="berkdb cups dvd esd foomaticdb gd-external gdbm gif gnome gpm gtk gtk2 imlib jpeg kde libwww mitshm motif mozilla nls oggvorbis opengl oss pam perl png ppc python readline sdl slang ssl tcpd truetype xv" regards Thomas Reproducible: Always Steps to Reproduce: 1. 2. 3.
That looks like it does not find -ldb. It built fine on my machine (~ppc). Please try with reemerging sys-libs/db, running env-update, source /etc/profile and emerging exim again.
Hello I did reemerging of sys-libs/db and this solved the problem. Thanks. Thomas
Forgot to change the state of this bug.
Has this been fixed? if so, can someone close it, Ta.
Appearently. I don't have problems with exim on ppc.