I was able to link openvpn statically with this change: sed -i -e '/^LIBS/s/LIBS = /LIBS = -static /' Makefile after the econf step. (success confirmed by ldd) From my "emerge info": Portage 2.0.51.22-r2 (uclibc/x86/2005.1, gcc-3.4.4, unavailable, 2.6.9-epia0 i686) USE="x86 berkdb glibc-compat20 ncurses perl readline ssl static uclibc zlib userland_GNU kernel_linux elibc_uclibc" It was a uclibc x86 environment. I haven't run the binary yet.
Created attachment 68100 [details, diff] ebuild patch
Thanks for the patch! Fixed in 2.0.2-r1