Skip to content
This repository was archived by the owner on Jan 12, 2021. It is now read-only.
This repository was archived by the owner on Jan 12, 2021. It is now read-only.

Error installing CrackMapExec #20

@HyggeHacker

Description

@HyggeHacker

It looks like the installer is unable to locate 'ffi.h', a libffi file. I've ensured that libffi is installed. I have python3, cffi, and relevant dependencies installed and PATH'd.

I've run:
export PKG_CONFIG_PATH="/usr/local/opt/libffi/lib/pkgconfig"
and
export LDFLAGS="-L/usr/local/opt/libffi/lib"

Output of error:

Last 15 lines from /Users/j/Library/Logs/Homebrew/crackmapexec/16.python:
copying cffi/cparser.py -> build/lib.macosx-10.14-intel-2.7/cffi
copying cffi/verifier.py -> build/lib.macosx-10.14-intel-2.7/cffi
copying cffi/_cffi_include.h -> build/lib.macosx-10.14-intel-2.7/cffi
copying cffi/parse_c_type.h -> build/lib.macosx-10.14-intel-2.7/cffi
copying cffi/_embedding.h -> build/lib.macosx-10.14-intel-2.7/cffi
running build_ext
building '_cffi_backend' extension
creating build/temp.macosx-10.14-intel-2.7
creating build/temp.macosx-10.14-intel-2.7/c
clang -fno-strict-aliasing -fno-common -dynamic -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch i386 -arch x86_64 -pipe -DUSE__THREAD -I/usr/include/ffi -I/usr/include/libffi -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c c/_cffi_backend.c -o build/temp.macosx-10.14-intel-2.7/c/_cffi_backend.o
c/_cffi_backend.c:15:10: fatal error: 'ffi.h' file not found
#include <ffi.h>
^~~~~~~
1 error generated.
error: command 'clang' failed with exit status 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions