The build system, based off the makefile at src/osdep/unix/Makefile, simply assumes that the library directories are at /*/lib. But on multilib systems, the libraries can be in /lib, /lib32 or /lib64. Eg. on mipsel/multilib/n32, each is a different abi and we need to link to /lib32 not /lib. Reproducible: Always
Created attachment 317888 [details, diff] Sets the correct multilib values for SSLLIB and AFSLIB Besides the mips systems, I've tested on amd64 and its fine.
One final note: you should probably inherit multilib.eclass even though it is transitively inehrited via toolchain-funcs.eclass just in case the later were changed. Unlikely but possible.
+*c-client-2007f-r2 (11 Jul 2012) + + 11 Jul 2012; Eray Aslan <eras@gentoo.org> +c-client-2007f-r2.ebuild: + Make build system multilib aware - bug #425766. Thanks to Anthony Basile + Thanks for the report.