Não foi possível encontrar o erro pkg-config

Estou tentando instalar algum software no meu mac; no entanto, continuo recebendo o mesmo erro:

configure: error: The pkg-config script could not be found or is too old.  Make sure it
is in your PATH or set the PKG_CONFIG environment variable to the full
path to pkg-config.

Alternatively, you may set the environment variables XMEDCON_GLIB_CFLAGS
and XMEDCON_GLIB_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

To get pkg-config, see <http://pkg-config.freedesktop.org/>.
See `config.log' for more details

Não sei ao certo como adicionar o pkg-config ao PATH. Vi online (ver link) que devo adicionar o seguinte:

Link mostrando como direcionar a variável PATH

export PATH=$PATH:/opt/local/bin     # Fixed typo as mentioned in comment

que é onde eu coloquei o pkg-config. Ainda continuo recebendo o erro todas as vezes que tento configurar os arquivos usando ./configure. Qualquer ajuda seria super apreciada!

questionAnswers(4)

yourAnswerToTheQuestion