On Wed, 4 Dec 2019 at 00: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
One catch that has confused me in the past, is when the system caches that it couldn't find the external module, so even when I copyied it to the VM folder or got the path correct, it continued to fail until I restarted the Image. cheers -ben
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
[1] https://github.com/badetitou/Pharo-LibVLC/issues/1
----- Cheers, Sean -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html