Build Conflict with Homebrew on Linux #5694
Beanow
announced in
Frequently Asked
Replies: 1 comment
-
How does one figure out the correct |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Mirrored from https://tauri.app/v1/guides/faq/#build-conflict-with-homebrew-on-linux
Homebrew on Linux includes its own
pkg-config
(a utility to find libraries on the system). This can cause conflicts when installing the samepkg-config
package for Tauri (usually installed through the package manager likeapt
). When you try to build a Tauri app it will try to invokepkg-config
and will end up invoking the one from Homebrew. If Homebrew wasn't used to install Tauri's dependencies, this can cause errors.Errors will usually contain messages along the lines of
error: failed to run custom build command for X
-Package Y was not found in the pkg-config search path.
. Note that you may see similar errors if the required dependencies are not installed at all.There are two solutions to this issue:
PKG_CONFIG_PATH
environment variable to point to the correctpkg-config
before building a Tauri appBeta Was this translation helpful? Give feedback.
All reactions