From: Carl Worth Date: Wed, 24 Apr 2013 00:25:13 +0000 (-0700) Subject: Compile both 32-bit and 64-bit versions of the wrapper library. X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=b32aa136d3e51a250e58c0fc28162b5e5fd52f67;hp=b32aa136d3e51a250e58c0fc28162b5e5fd52f67;p=fips Compile both 32-bit and 64-bit versions of the wrapper library. This is intended to make it transparent to run fips with either a 32-bit or a 64-bit program. And it does do that once you successfully build both versions of the library. Actually being able to build both versions of the library is a little tricky though. Here are some of the tricks: 1. You will need to have installed both a 32-bit and a 64-bit .so file for each dependent library, (currently libelf and libtalloc). The current configure script doesn't check for both versions, so you don't get a lot of guidance here. And that's because... 2. On Debian, at least, one cannot currently install both libtalloc-dev:amd64 and libtalloc-dev:i386 at the same time. Contrast with libelf-dev:i386 and libelf-dev:amd64 which work just fine when installed simultaneously. One can work around this by just install libtalloc-dev:amd64 and then manually creating the link you need for the i386 package. Namely: sudo ln -s libelf.so.1 /usr/lib/i386-linux-gnu/libelf.so ---