Open lnksz opened 5 months ago
Hi, thanks for the report. For pkg-config issues i always ask if the user has homebrew installed because of https://tauri.app/v1/guides/faq#build-conflict-with-homebrew-on-linux - please check that. In your case i think the terminal being installed via snap may be the more likely issue (at least it's a common issue with vscode's built-in terminal if vscode was installed via snap). To check that you could try your systems "normal" terminal (or whatever was installed via apt and not snap) and/or run this before the build command:
unset GTK_PATH
unset GIO_MODULE_DIR
(a team member of ours reported that this worked for vscode, so maybe it works here too)
Hi Lars,
thanks for the response!
if the user has homebrew installed
No, I don't have homebrew
the terminal being installed via snap may be the more likely issue
That is a good idea, I was using a snap installed Alacritty. I re-tried from scratch in an apt installed "Terminator".
pnpm create tauri-app
pnpm, Angularpnpm install
pnpm tauri dev
=> Works!pnpm tauri build
(after changing the ID)The process errors out at the same place. I also tried the same with bun
out of curiosity, but get the same error.
Describe the bug
Coming from https://github.com/tauri-apps/tauri/issues/5781, I hit a similar build error
If I try to install
sudo apt install libgtk-3-dev
, then it shows as already installed.The other hint is true, there is no
lib64
dir in that folderReproduction
on Ubuntu 22.04
pnpm install
pnpm run tauri build --verbose
Expected behavior
Successfull AppImage build
Full
tauri info
output