squidguard configure.in check if berkdb lib are available by using AC_RUN_IFELSE by fixing third arg to db_ok_version=no. So AC_RUN_IFELSE return false everytime cause third arg is specific to cross-compil environnement. Here is a fix to avoid it, and make build system report any real library missing. Patch have been reported upstream. Reproducible: Always Steps to Reproduce: 1. crossdev -t i586-geode-linux-uclibc 2. emerge-wrapper --init 3. i586-geode-linux-uclibc -vat squidguard Actual Results: checking for unistd.h... (cached) yes checking for db.h... (cached) yes checking suppress runtime logging... no checking squid runtime user ... squid checking for ldap support... no checking for mysql support... no checking for pthread_create in -lpthread... yes ** The Berkley DB library version 2.6.4 or newer is required. Get it from http://www.oracle.com use --with-db=DIR or --with-db-inc=DIR, --with-db-lib=DIR to specify its location (default is /usr/local/BerkeleyDB)
Created attachment 188621 [details, diff] squidguard-1.4 cross compilation fix
Created attachment 188623 [details, diff] net-proxy/squidguard-1.4-r1.ebuild patch
Created attachment 188800 [details, diff] fix ldap linking test when cross-compilating here is another patch to configure.in to fix ldap suport
Created attachment 188801 [details, diff] net-proxy/squidguard-1.4-r1.ebuild.diff
Fixed in 1.4-r2, thanks!
This have been reported upstream as : http://www2.squidguard.org/Bugs/show_bug.cgi?id=56