I tried to follow this guide:
https://blog.greggant.com/posts/2024/02 ... c-vlc.html
"Paste (or copy) the libaacs.dylib file into /usr/local/lib."
Should this be perhaps /usr/local/ or /usr/lib?
There is no /usr/local/lib in default.
VLC to playback bd-image with Apple Silicon?
Re: VLC to playback bd-image with Apple Silicon?
Found the problem:
libaacs.dylib was not a file, just a link.
Had to copy libaacs.0.dylib to /usr/local/lib and remove that ".0".
libaacs.dylib was not a file, just a link.
Had to copy libaacs.0.dylib to /usr/local/lib and remove that ".0".
Re: VLC to playback bd-image with Apple Silicon?
You should not copy libaacs.dylib. If it later gets updated by Homebrew, you would have to copy it again. You should also not use a macOS alias file or copy/paste or drag/drop anything in the Finder. Instead, use a symbolic link. Since you already need to use the Terminal for Homebrew, just finish up there.
You may not have a /usr/local/lib directory. Since /usr/local is probably owned by root, use sudo to create the lib directory. Then create a symbolic link to the Homebrew version of libaacs.dylib:
Note: on older Macs, Homebrew may already be using /usr/local/, so the above is not needed. On an older Intel Mac, brew --prefix gives me /usr/local.
Once the link is created, verify with the following:
I don't have Java installed, so no menus currently. Otherwise, VLC works fine playing a blu-ray.
You may not have a /usr/local/lib directory. Since /usr/local is probably owned by root, use sudo to create the lib directory. Then create a symbolic link to the Homebrew version of libaacs.dylib:
Code: Select all
sudo mkdir /usr/local/lib
sudo ln -s $(brew --prefix)/lib/libaacs.dylib /usr/local/lib
Once the link is created, verify with the following:
Code: Select all
ls -l /usr/local/lib/libaacs.dylib
lrwxr-xr-x 1 root wheel 31 Jun 27 18:42 /usr/local/lib/libaacs.dylib -> /opt/homebrew/lib/libaacs.dylib