> I try to build the cryptsetup tools, but all depended library should be > build with +static-libs use flag. I have set my packages.use to: > > sys-fs/cryptsetup -static-libs > dev-libs/libgcrypt static-libs > dev-libs/popt static-libs > dev-libs/libgpg-error static-libs > sys-apps/util-linux static-libs > > Can I build the cryptsetup without the static libs? Is there a reason > that I must build it with static libs?

cryptsetup does not have a static-libs USE flag. It has a static flag, which default to on and requires dependencies to be built with static-libs. Turn off the static flag for cryptsetup.

> On Fri, 23 Mar 2012 00:26:24 +0100, Kraus Philipp wrote: > >> I try to build the cryptsetup tools, but all depended library should be >> build with +static-libs use flag. I have set my packages.use to: >> >> sys-fs/cryptsetup -static-libs >> dev-libs/libgcrypt static-libs >> dev-libs/popt static-libs >> dev-libs/libgpg-error static-libs >> sys-apps/util-linux static-libs >> >> Can I build the cryptsetup without the static libs? Is there a reason >> that I must build it with static libs? > > cryptsetup does not have a static-libs USE flag. It has a static flag, [...]