Created
August 22, 2024 12:30
-
-
Save tchayintr/7bf3e7a391931e642cd1e2304a4d8bc8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # To check if found portaudio if return nothing, the setup was not completed | |
| ldconfig -p | grep portaudio | |
| # Add to .bash_profile | |
| export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/<username>/.linuxbrew/lib | |
| # Update the Linker Cache | |
| ldconfig | |
| # Or the last resort is | |
| LDFLAGS="-L/home/<username>/.linuxbrew/lib -l:libportaudio.a" CFLAGS="-I/home/<username>/.linuxbrew/include" pip install pyaudio |
If stuck:
/home/tawan/.cache/Homebrew/Logs/fontconfig/02.make:
mv -f fcobjshash.h.tmp fcobjshash.h || ( rm -f fcobjshash.h.tmp && false )
gperf: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
WARNING: 'gperf' is missing on your system.
You might have modified some files without having the proper
tools for further handling them. Check the 'README' file, it
often tells you about the needed prerequisites for installing
this package. You may also peek at any GNU archive site, in
case some other package contains this missing 'gperf' program.
make[1]: *** [Makefile:1032: fcobjshash.h] Error 1
make[1]: *** Waiting for unfinished jobs....
config.status: executing src/fcstdint.h commands
config.status: creating src/fcstdint.h : _FONTCONFIG_SRC_FCSTDINT_H
config.status: src/fcstdint.h is unchanged
make[1]: Leaving directory '/tmp/fontconfig-20240917-3343960-qjy0k3/fontconfig-2.15.0/src'
make: *** [Makefile:629: install-recursive] Error 1TRY:
brew install gcc then re-install ffmpeg again
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue:
Solve: