There was an error installing brew install mongodb on Mac. The directory / usr/local/opt/pkg-config could not be found.

there was an error installing brew install mongodb on Mac. The directory / usr/local/opt/pkg-config could not be found

Mar.04,2021

clipboard.png
encounters installation problems and solves them from top to bottom. Generally speaking, there is a lack of dependent packages. Just install them. In the figure, you need to install xcode-select, first and then reinstall pkg-config.


follow the instructions. Doesn't it tell you to reinstall pkg-config? first:

brew install pkg-config

then

brew install mongodb
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bf70df-32069.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bf70df-32069.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?