The list_libdirs() function in multilib.bash does not fuction correctly for multilib profiles other than amd64. Moreover it is broken with regards to amd64's no-lib32 profile since it does not list 'lib' on amd64.
Created attachment 73945 [details] improved multilib.bash This attached list_libdirs() functions by simply listing any of lib, lib32, lib64 that appear in /etc/ld.so.conf and so should work well for all profiles.
Herbie: Very good idea. I just added a list of valid libdirs which is used to process ld.so.conf. In case there is no ld.so.conf, we'll fall back to all directories that match ${ROOT}/lib*. Additonally, your original patch didn't respect the ${ROOT} environment variable. InSVN, will ship with next release.
eselect-1.0 is now in portage, closing this.