Closed emonigma closed 2 years ago
You need to make sure to all necessary build dependencies. Also see: https://github.com/libyal/libfvde/wiki/Building
I followed the build instructions and downloaded the source distribution package, un-tar'ed it, and ran:
$ python3 setup.py build
I got the same error:
libclocale/libclocale_support.c:26:10: fatal error: 'libintl.h' file not found
#include <libintl.h>
^~~~~~~~~~~
1 error generated.
error: command '/usr/bin/clang' failed with exit code 1
As mentioned in the build documentation, running custom Python could be problematic. So I ran with Python that ships with macOS and was able to install it:
python setup.py build
sudo python setup.py install
Result:
Installed /Library/Python/2.7/site-packages/libfvde_python-20210425-py2.7-macosx-10.14-intel.egg
Processing dependencies for libfvde-python==20210425
Finished processing dependencies for libfvde-python==20210425
Based on the error, the build process cannot find the necessary gettext headers. Hence you did not install all necessary dependencies.
I strongly encourage to take some time to read the build instructions, especially if you're not/less familiar with building from source.
Indeed, the instructions to build from source contain all the elements for a successful build, and now I see:
$ ls /usr/local/bin/ | grep fvde
fvdeinfo
fvdemount
fvdewipekey
I discovered this package on StackExchange. I try to install it with
pip3
:I also clone the repo and try to install from source with:
I am running macOS Mojave 10.14.6 and Python 3.9.13 installed with Homebrew.
How can I fix this or find a workaround?