on gentoo/kurobox the gmp-4.1.4.ebuild lead to not loadables .so's error while loading shared libraries: libgmp.so.3: cannot enable executable stack as shared object requires: (e.g. when trying to launch clamd) I could fix it by adding: use ppc && append-ldflags "-Wl,-z -Wl,noexecstack" to the src_compile() - Section Reproducible: Always Steps to Reproduce: 1.emerge clamav 2.try to run it 3.
Can you post your emerge info please?
sorry for the delay, emerge info is: Portage 2.0.51.19 (!/usr/local/portage/kurobox/profiles/kurobox-0.1, gcc-3.4.4, glibc-2.3.4.20041102-r1, 2.4.17_kuro-box ppc) ================================================================= System uname: 2.4.17_kuro-box ppc 82xx Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.5 [2.3.5 (#1, Jun 11 2005, 02:57:57)] distcc 2.16 powerpc-unknown-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] dev-lang/python: 2.3.5 sys-apps/sandbox: [Not Present] sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.5, 1.8.5-r3, 1.6.3, 1.7.9-r1, 1.4_p6, 1.9.5 sys-devel/binutils: 2.15.90.0.3-r5 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.4.17 ACCEPT_KEYWORDS="ppc" AUTOCLEAN="yes" CFLAGS="-O2 -mcpu=603e -fno-strict-aliasing -pipe" CHOST="powerpc-unknown-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -mcpu=603e -fno-strict-aliasing -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distcc distlocks" GENTOO_MIRRORS="http://gentoo.inode.at/ http://gentoo.mirror.sdv.fr/" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/kurobox" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="apache2 berkdb cjk crypt flac foomaticdb gdbm gif imap jpeg kuro libwww maildir mailwrapper mysql ncurses nls oggvorbis pam perl php png ppc ppds python readline samba sasl slang ssl tcpd unicode zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
I can't reproduce this on any of my machines. Could you try with glibc-2.3.5 and reopen the bug if it's still a problem? Thanks!