Closed C-gotoh closed 5 years ago
This issue seems to be caused by the library pyogg is trying to load. Either the "opusfile" library was built without some specific symbols or a non related library is used by accident.
I'll commit a small change to the LibraryLoader code that will test wether or not the library is compatible. You should be able to import it afterwards, but you might not be able to certain files (such as .opus) without the respective libraries (opus and opusfile)
Please let me know if the issue persists.
I can confirm that your commit fixed the symptom of this issue. The issue was that I did not have the opusfile library installed, but shouldn't this be an optional dependency as it is only relevant for decoding opus files? Either way, it appears that you made it optional with your fix, so I guess this is solved.
It was always optional, but my LibraryLoader found a library that it interpreted as the opusfile library, but it was actually some other library - it now checks the compatibility of the library candidate before using it.
Thank you very much for finding this bug!
I cannot import the current version of PyOgg==0.6.5a1: