Hi Sean, On Tue, 3 Dec 2019 at 17:26, Sean P. DeNigris <sean@clipperadams.com> wrote:
I was trying to get Pharo-LibVLC working on Mac. The following is copied from a GH issue[1]:
I have VLC installed via Homebrew cask, the formula for which simply installs the dmg. I first tried supplying a full path to the dylib that the VLC app uses (/Applications/VLC.app/Contents/MacOS/lib/libvlc.5.dylib), which resulted in "Error: External module not found". I then remembered some trouble people have had in the past with FFI lookup locations and tried copying into the VM's plugin folder both a link and the actual dylib, with the same error. I read the uFFI booklet, but didn't learn anything more.
I also checked that the VLC lib was 64-bit via:
lipo -info .../Pharo.app/Contents/MacOS/Plugins/libvlc.5.dylib which returned: Non-fat file: .../Plugins/libvlc.5.dylib is architecture: x86_64
The same message is returned whether the module itself isn't found, or if one of its dependencies can't be found. On linux you can check dependencies with `ldd file.so`, I don't know what the Mac equivalent is. HTH, Alistair