sleuthkit / autopsy

Autopsy® is a digital forensics platform and graphical interface to The Sleuth Kit® and other digital forensics tools. It can be used by law enforcement, military, and corporate examiners to investigate what happened on a computer. You can even use it to recover photos from your camera's memory card.
http://www.sleuthkit.org/autopsy/
2.39k stars 595 forks source link

JNI native library not built. #2709

Open nickylimjj opened 7 years ago

nickylimjj commented 7 years ago

I can't seem to run ant dist-PostgreSQL because of that error. Specifically,

/Users/<user>/Downloads/sleuthkit-4.4.0/bindings/java/build-unix.xml:43: JNI native library not built.

I have set my $JAVA_HOME to /Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home

Thanks!

LuckyDragon2 commented 7 years ago

I had to install the mingw32 cross complier in Fedora (25) as user(I never build as root): sudo dnf install mingw32-gcc-c++ ./bootstrap #if using the latest git ./configure ./make clean #if you used make prior to this ./make sudo ./make install #if all else worked

If it still doesn't work try this first sudo dnf install gcc-c++.*

pranaygp commented 6 years ago

@nickylimjj it seems like you need to run make in bindings/java first. Doing that worked for me, but isn't documented in BUILDING.txt