versatica / mediasoup-client-aiortc

mediasoup-client handler for aiortc Python library
https://mediasoup.org
ISC License
56 stars 30 forks source link

Installation fails in macOS 15: No package 'libavformat' found, etc #39

Open ibc opened 1 month ago

ibc commented 1 month ago

See CI: https://github.com/versatica/mediasoup-client-aiortc/actions/runs/11389354908/job/31689098283

Collecting aioice<1.0.0,>=0.9.0 (from aiortc>=1.9.0->mediasoup-client-aiortc==3.10.6)
  Downloading aioice-0.9.0-py3-none-any.whl.metadata (3.8 kB)
Collecting av<13.0.0,>=9.0.0 (from aiortc>=1.9.0->mediasoup-client-aiortc==3.10.6)
  Downloading av-12.3.0.tar.gz (3.8 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.8/3.8 MB 80.4 MB/s eta 0:00:00
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  error: subprocess-exited-with-error
  Getting requirements to build wheel: finished with status 'error'

  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [[29](https://github.com/versatica/mediasoup-client-aiortc/actions/runs/11389354908/job/31689098283#step:5:30) lines of output]
      Package libavformat was not found in the pkg-config search path.
      Perhaps you should add the directory containing `libavformat.pc'
      to the PKG_CONFIG_PATH environment variable
      No package 'libavformat' found
      Package libavcodec was not found in the pkg-config search path.
      Perhaps you should add the directory containing `libavcodec.pc'
      to the PKG_CONFIG_PATH environment variable
      No package 'libavcodec' found
      Package libavdevice was not found in the pkg-config search path.
      Perhaps you should add the directory containing `libavdevice.pc'
      to the PKG_CONFIG_PATH environment variable
      No package 'libavdevice' found
      Package libavutil was not found in the pkg-config search path.
      Perhaps you should add the directory containing `libavutil.pc'
      to the PKG_CONFIG_PATH environment variable
      No package 'libavutil' found
      Package libavfilter was not found in the pkg-config search path.
      Perhaps you should add the directory containing `libavfilter.pc'
      to the PKG_CONFIG_PATH environment variable
      No package 'libavfilter' found
      Package libswscale was not found in the pkg-config search path.
      Perhaps you should add the directory containing `libswscale.pc'
      to the PKG_CONFIG_PATH environment variable
      No package 'libswscale' found
      Package libswresample was not found in the pkg-config search path.
      Perhaps you should add the directory containing `libswresample.pc'
      to the PKG_CONFIG_PATH environment variable
      No package 'libswresample' found
      pkg-config could not find libraries ['avformat', 'avcodec', 'avdevice', 'avutil', 'avfilter', 'swscale', 'swresample']
      [end of output]