I’m trying to finish installing Autopsy on my Mac Studio 2022 and on the step where you have to lunch the script (sh unix_setup.sh) I get following error:
Checking prerequisites and preparing Autopsy: --------------------------------------------- -n Checking for PhotoRec… ERROR: PhotoRec not found, please install the testdisk package.
thanks for the feedback. I actually followed all steps specified in the link I posted.
% brew install testdisk
As I’m working on a new machine I had to install all from ZERO (brew included)
But it seems that I still cannot proceed from the step I mentioned, it’s still NOT FOUNDING PhotoRec from any reason…
So I ran into this problem with my M1 Max Macbook Pro. Not sure if you still need help, but thought I’d leave my solution here for anyone else.
I took a look at ./unix_setup.sh and worked out it was failing due to checking for a specific simlink. It seems homebrew only sets up its own simlink. I just went and created the required simlink pointing to the homebrew simlink, which required sudo. After that, autopsy managed to configure.
Here’s the exact command I used. First path is the homebrew simlink on my device and the second path is the simlink the script expected to find that will be created.