遵循本指南
我遇到了一个错误:
export PKG_CONFIG_PATH="/usr/local/lib/pkgconfig"
c++ --std=c++11 test.cc -o test $(pkg-config --cflags --libs libmongocxx)
c++: error: Symbol’s function definition is void: pkg-config: No such file or directory
$(pkg-config --cflags --libs libmongocxx) 是什么,从不使用它?如何解决这个问题?