checke_opus.sh 371 B

12345678910111213
  1. #!/usr/bin/env bash
  2. #export DYLD_LIBRARY_PATH=/opt/homebrew/Cellar/opus/1.5.2/lib
  3. export DYLD_LIBRARY_PATH=/opt/homebrew/lib:$DYLD_LIBRARY_PATH
  4. echo "Opus version:"
  5. brew list --versions opus
  6. echo "Libopus path:"
  7. ls /opt/homebrew/Cellar/opus/1.5.2/lib
  8. echo "DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH"
  9. echo "Try running opuslib:"
  10. python3 -c "import opuslib; print('Opus OK')"