Aorimn / dislocker

FUSE driver to read/write Windows' BitLocker-ed volumes under Linux / Mac OSX
GNU General Public License v2.0
1.59k stars 196 forks source link

Cannot install dislocker on MacOS Ventura #308

Open k3kosz opened 1 year ago

k3kosz commented 1 year ago

Hey. When I am trying install dislocker on MacOS Ventura i getting an error below:

`Last 15 lines from /Users/aleksander/Library/Logs/Homebrew/dislocker/02.make: In file included from /tmp/dislocker-20230504-11655-ah3jf1/dislocker-0.7.2/include/dislocker/encryption/encommon.priv.h:29: /tmp/dislocker-20230504-11655-ah3jf1/dislocker-0.7.2/include/dislocker/ssl_bindings.h:29:10: fatal error: 'mbedtls/config.h' file not found

include "mbedtls/config.h"

     ^~~~~~~~~~~~~~~~~~

1 error generated. make[2]: *** [src/CMakeFiles/dislocker_bundle.dir/encryption/encommon.c.o] Error 1 In file included from /tmp/dislocker-20230504-11655-ah3jf1/dislocker-0.7.2/src/encryption/decrypt.c:28: In file included from /tmp/dislocker-20230504-11655-ah3jf1/dislocker-0.7.2/include/dislocker/encryption/encommon.priv.h:29: /tmp/dislocker-20230504-11655-ah3jf1/dislocker-0.7.2/include/dislocker/ssl_bindings.h:29:10: fatal error: 'mbedtls/config.h' file not found

include "mbedtls/config.h"

     ^~~~~~~~~~~~~~~~~~

1 error generated. make[2]: [src/CMakeFiles/dislocker_bundle.dir/encryption/decrypt.c.o] Error 1 make[1]: [src/CMakeFiles/dislocker_bundle.dir/all] Error 2 make: *** [all] Error 2`

jl982 commented 1 year ago

I got past this error by changing line 13 of src/dislocker.rb from depends_on 'mbedtls' to depends_on 'mbedtls@2'. However, I ran into another error that I couldn't fix:

/tmp/dislocker-20230612-52289-12fq2az/dislocker-0.7.2/src/dislocker-fuse.c:37:11: fatal error: 'osxfuse/fuse.h' file not found
# include <osxfuse/fuse.h>
          ^~~~~~~~~~~~~~~~
1 error generated.
make[2]: *** [src/CMakeFiles/dislocker-fuse.dir/dislocker-fuse.c.o] Error 1
make[1]: *** [src/CMakeFiles/dislocker-fuse.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....

According to brew, my macfuse version is 4.5.0.

asegner commented 1 year ago

Do the install steps in this ticket resolve the issue https://github.com/Aorimn/dislocker/issues/321