Conversation
|
This is a very nice solution! It seems that there are more problem though (this applies to #116 as well): Apparently, the _snd = _ffi.dlopen(_os.path.join(
_os.path.dirname(_os.path.abspath(__file__)),
'pysoundfile_data', _libname))is resolved at wheel-build-time. When I Furthermore, if I don't rename the directory, I get this error: I think I know the reason for the second point. The build script in https://github.com/bastibe/libsndfile-binaries still has a few issues. I'll correct that later today. |
The submodule is installed as a Python package, in addition to the "soundfile" module. This also includes a dylib for Mac OS X.
How could that possibly be the case?
The error isn't surprising, but why would you want to rename the directory?
Which should be the typical case ... The dylib was indeed broken, as it still depended on another (libogg) dylib. Note to self: always check with I changed https://github.com/bastibe/libsndfile-binaries a bit and I hope that fixes the issue. |
|
OK, seems to work now. My problems were due to a weirdly broken virtualenv. |
This is an alternative to #116.