这是我在StackOverflow上的第一个问题。通常我会从别人的问题中找到解决方案,但这次互联网似乎没有太多答案。因此,在使用goget之后以及每次尝试编译和运行我的应用程序时,我都会收到此消息。#pkg-config--cflagsrdkafkaPackagerdkafkawasnotfoundinthepkg-configsearchpath.Perhapsyoushouldaddthedirectorycontaining`rdkafka.pc'tothePKG_CONFIG_PATHenvironmentvariablePackage'rdkafka',requiredby'