Skip to content
This repository has been archived by the owner on Apr 26, 2021. It is now read-only.

error: [Errno 2] No such file or directory: 'libunicorn.dylib' #3168

Open
hcam93 opened this issue Jan 20, 2021 · 0 comments
Open

error: [Errno 2] No such file or directory: 'libunicorn.dylib' #3168

hcam93 opened this issue Jan 20, 2021 · 0 comments

Comments

@hcam93
Copy link

hcam93 commented Jan 20, 2021

Thanks for creating an issue! But first: did you read our community guidelines?
https://cuckoo.sh/docs/introduction/community.html

My issue is:

I have been trying to install cuckoo on my Mac, I have made sure to be using Python 2.7.18 and I am having issues with the unicorn library. I have tried installing unicorn myself but that have no solved my issue. I am not sure what pthreads are but I haven't been able to find any solution to this either. Any help would be so greatly appreciated.

My Cuckoo version and operating system are:

I am not sure what version I am assuming the newest because I am using pip install --user cuckoo
My OS is Big Sur 11.1

This can be reproduced by:

Running pip install --user cuckoo

The log, error, files etc can be found at:

` ERROR: Command errored out with exit status 1:
command: /Users/huntercamfield/.pyenv/versions/2.7.18/bin/python2.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/37/nq8x3kk52g7_yy9_ql6g8s2c0000gn/T/pip-install-YCLVHk/unicorn/setup.py'"'"'; file='"'"'/private/var/folders/37/nq8x3kk52g7_yy9_ql6g8s2c0000gn/T/pip-install-YCLVHk/unicorn/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /private/var/folders/37/nq8x3kk52g7_yy9_ql6g8s2c0000gn/T/pip-record-PpA06w/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /Users/huntercamfield/.local/include/python2.7/unicorn
cwd: /private/var/folders/37/nq8x3kk52g7_yy9_ql6g8s2c0000gn/T/pip-install-YCLVHk/unicorn/
Complete output (11 lines):
running install
running build
Building C extensions
cd qemu &&
./configure --cc="cc" --extra-cflags="-DUNICORN_HAS_X86 -DUNICORN_HAS_ARM -DUNICORN_HAS_ARMEB -DUNICORN_HAS_M68K -DUNICORN_HAS_ARM64 -DUNICORN_HAS_MIPS -DUNICORN_HAS_MIPSEL -DUNICORN_HAS_MIPS64 -DUNICORN_HAS_MIPS64EL -DUNICORN_HAS_SPARC -fPIC -fvisibility=hidden -m32 -arch i386 -m64 -arch x86_64" --target-list="x86_64-softmmu, arm-softmmu, armeb-softmmu, m68k-softmmu, aarch64-softmmu, mips-softmmu, mipsel-softmmu, mips64-softmmu, mips64el-softmmu, sparc-softmmu,sparc64-softmmu,"

ERROR: pthread check failed
       Make sure to have the pthread libs and headers installed.

make: *** [qemu/config-host.h-timestamp] Error 1
error: [Errno 2] No such file or directory: 'libunicorn.dylib'
----------------------------------------

ERROR: Command errored out with exit status 1: /Users/huntercamfield/.pyenv/versions/2.7.18/bin/python2.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/37/nq8x3kk52g7_yy9_ql6g8s2c0000gn/T/pip-install-YCLVHk/unicorn/setup.py'"'"'; file='"'"'/private/var/folders/37/nq8x3kk52g7_yy9_ql6g8s2c0000gn/T/pip-install-YCLVHk/unicorn/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /private/var/folders/37/nq8x3kk52g7_yy9_ql6g8s2c0000gn/T/pip-record-PpA06w/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /Users/huntercamfield/.local/include/python2.7/unicorn Check the logs for full command output. `

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant