这篇文章上次修改于 902 天前,可能其部分内容已经发生变化,如有疑问可询问作者。

Package javascriptcoregtk-4.0 was not found in the pkg-config search path.

Perhaps you should add the directory containing `javascriptcoregtk-4.0.pc'

to the PKG_CONFIG_PATH environment variable

No package 'javascriptcoregtk-4.0' found

解决:sudo apt-get install libjavascriptcoregtk-4.0-dev

可以在如下链接中的右上角搜索框中搜索缺失的 pc:

https://ubuntu.pkgs.org/20.04/ubuntu-main-amd64/libjavascriptcoregtk-4.0-dev_2.28.1-1_amd64.deb.html