Closed mikezone closed 7 years ago
when I run main.py dlopen(h264decode.so, 2): Symbol not found: _av_buffer_allocz, what should I do? hope your reply
$ ./main.py Traceback (most recent call last): File "./main.py", line 10, in import mirror.service File "/Users/Mike/Downloads/zzRecord/PyOpenAirMirror/mirror/service.py", line 4, in import h264decode ImportError: dlopen(/Users/Mike/Downloads/zzRecord/PyOpenAirMirror/h264decode.so, 2): Symbol not found: _av_buffer_allocz Referenced from: /Users/Mike/Downloads/zzRecord/PyOpenAirMirror/h264decode.so Expected in: flat namespace in /Users/Mike/Downloads/zzRecord/PyOpenAirMirror/h264decode.so
This looks to me like another ffmpeg bug. How did you install it? Is libavutil present?
I Install it recording instruments in INSTALL ( a txt file). It likes
Since you are on macOS anyway, try installing ffmpeg via homebrew. Make sure your all libraries (including libavutil which contains missing av_buffer_allocz above) are found.
libavutil
av_buffer_allocz
Unfortunately I cannot otherwise reproduce your problem.
when I run main.py dlopen(h264decode.so, 2): Symbol not found: _av_buffer_allocz, what should I do? hope your reply
$ ./main.py Traceback (most recent call last): File "./main.py", line 10, in
import mirror.service
File "/Users/Mike/Downloads/zzRecord/PyOpenAirMirror/mirror/service.py", line 4, in
import h264decode
ImportError: dlopen(/Users/Mike/Downloads/zzRecord/PyOpenAirMirror/h264decode.so, 2): Symbol not found: _av_buffer_allocz
Referenced from: /Users/Mike/Downloads/zzRecord/PyOpenAirMirror/h264decode.so
Expected in: flat namespace
in /Users/Mike/Downloads/zzRecord/PyOpenAirMirror/h264decode.so