sndfile not found on os x
See original GitHub issueyosemite 10.10.2
$ python
Python 2.7.9 |Continuum Analytics, Inc.| (default, Dec 15 2014, 10:37:34)
[GCC 4.2.1 (Apple Inc. build 5577)] on darwin
>>> import pysoundfile as sf
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/software/anaconda/envs/devpype/lib/python2.7/site-packages/pysoundfile.py", line 240, in <module>
_snd = _ffi.dlopen('sndfile')
File "/software/anaconda/envs/devpype/lib/python2.7/site-packages/cffi/api.py", line 121, in dlopen
lib, function_cache = _make_ffi_library(self, name, flags)
File "/software/anaconda/envs/devpype/lib/python2.7/site-packages/cffi/api.py", line 493, in _make_ffi_library
backendlib = _load_backend_lib(backend, libname, flags)
File "/software/anaconda/envs/devpype/lib/python2.7/site-packages/cffi/api.py", line 481, in _load_backend_lib
raise OSError("library not found: %r" % (name,))
OSError: library not found: 'sndfile'
and the sndfile binaries and libraries are all available.
$ snd<TAB>
sndfile-cmp sndfile-deinterleave sndfile-metadata-get sndfile-regtest
sndfile-concat sndfile-info sndfile-metadata-set sndfile-salvage
sndfile-convert sndfile-interleave sndfile-play
and
$ ls /usr/local/Cellar/libsndfile/1.0.25/
AUTHORS INSTALL_RECEIPT.json bin share
COPYING NEWS include
ChangeLog README lib
Issue Analytics
- State:
- Created 9 years ago
- Comments:12 (6 by maintainers)
Top Results From Across the Web
sndfile not found on os x · Issue #118 · bastibe/python-soundfile
Can you please show the contents of /usr/local/Cellar/libsndfile/1.0.25/lib/ ? I don't know how this works on OSX, but on Linux, you can add ......
Read more >MacOS brew install libsndfile but still not found - Stack Overflow
For some reason, brew did not put libsndfile.h into either of the locations you suggested, but I found it at /opt/homebrew/Cellar/libsndfile/1.1 ...
Read more >libsndfile - Homebrew Formulae
libsndfile. Install command: brew install libsndfile. C library for files containing sampled sound. https://libsndfile.github.io/libsndfile/.
Read more >Install libsndfile on Mac OSX
Press Command+Space and type Terminal and press enter/return key. · Now, copy/paste and run this command to make brew command available inside ...
Read more >libsndfile : Frequently Asked Questions - GitHub Pages
On Linux/Unix/MacOS X, what's the best way of detecting the presence of libsndfile? ... codec where no source code or documentation is available...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
install this sudo apt-get install libsndfile1
Great, thanks a lot! I’m closing this …