M
M
moriokii2021-05-06 11:22:14
go
moriokii, 2021-05-06 11:22:14

How to install pkg-config?

When installing libraries for GO, here is the following error:

pkg-config: exec: "pkg-config": executable file not found in %PATH%

How to fix? Windows

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Evgeny Mamonov, 2021-05-06
@moriokii

Download binaries + dependencies here ftp.gnome.org/pub/gnome/binaries/win32/dependencies
pkg-config_0.26-1_win32.zip
glib_2.28.8-1_win32.zip
gettext-runtime_0.18.1.1-2_win32.zip
Extract them into one of the folders that you have in $PATH, or in a separate folder and write the path to it in $PATH
Better put Cygwin https://cygwin.com/install.html , you will no longer have a lot of different problems

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question