tzwenn / PyOpenAirMirror

An open source AirPlay mirroring server in Python for iOS 6-8
Other
92 stars 24 forks source link

dlopen(h264decode.so, 2): Symbol not found: _av_buffer_allocz #12

Closed mikezone closed 7 years ago

mikezone commented 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

tzwenn commented 7 years ago

This looks to me like another ffmpeg bug. How did you install it? Is libavutil present?

mikezone commented 7 years ago

I Install it recording instruments in INSTALL ( a txt file). It likes

  1. run ./configure 2.make 3.make install
tzwenn commented 7 years ago

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.

Unfortunately I cannot otherwise reproduce your problem.