JonathanSalwan / ROPgadget

This tool lets you search your gadgets on your binaries to facilitate your ROP exploitation. ROPgadget supports ELF, PE and Mach-O format on x86, x64, ARM, ARM64, PowerPC, SPARC, MIPS, RISC-V 64, and RISC-V Compressed architectures.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ERROR: fail to load the dynamic library.

69kevinutah69 opened this issue · comments

I am trying to run ROPgadget on osx and am getting the following errors after a successfull installation.

Traceback (most recent call last):
File "/usr/local/bin/ROPgadget", line 15, in
import ropgadget
File "/Library/Python/2.7/site-packages/ropgadget/init.py", line 14, in
import ropgadget.binary
File "/Library/Python/2.7/site-packages/ropgadget/binary.py", line 13, in
from ropgadget.loaders.elf import *
File "/Library/Python/2.7/site-packages/ropgadget/loaders/init.py", line 13, in
import ropgadget.loaders.elf
File "/Library/Python/2.7/site-packages/ropgadget/loaders/elf.py", line 13, in
from capstone import *
File "/Library/Python/2.7/site-packages/capstone/init.py", line 230, in
raise ImportError("ERROR: fail to load the dynamic library.")
ImportError: ERROR: fail to load the dynamic library.

nvm got it to work

reinstalled python on my mac

@f4bul1z3r Could you be more specific? Having the same problem currently.