dlopen_lib function in portability.eclass is "broken" on my arm-box since the revisions 1.12 and 1.13 (by grobian), as my arm-box has the CHOST="armv5tel-softfloat-linux-gnueabi". solution: $ cvs diff portability.eclass Index: portability.eclass =================================================================== RCS file: /var/cvsroot/gentoo-x86/eclass/portability.eclass,v retrieving revision 1.13 diff -u -B -r1.13 portability.eclass --- portability.eclass 27 Mar 2009 08:00:56 -0000 1.13 +++ portability.eclass 31 Oct 2009 13:01:59 -0000 @@ -59,7 +59,7 @@ # - Darwin needs nothing # - *BSD needs nothing # - Linux needs -ldl (glibc and uclibc) - if [[ ${CHOST} == *-linux-gnu || ${CHOST} == *-linux-uclibc ]]; then + if [[ ${CHOST} == *-linux-gnu* || ${CHOST} == *-linux-uclibc* ]]; then echo "-ldl" fi }
I was unaware of CHOSTs like this, fixed in CVS now, thanks!