Skip to content

Instantly share code, notes, and snippets.

@patrickod
Created April 18, 2012 22:11
Show Gist options
  • Save patrickod/2416991 to your computer and use it in GitHub Desktop.
Save patrickod/2416991 to your computer and use it in GitHub Desktop.
configure: error: Package requirements (protobuf) were not met:
No package 'protobuf' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables protobuf_CFLAGS
and protobuf_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
@AnandSingh
Copy link

What is solution for this kind of error

@seqizz
Copy link

seqizz commented Aug 18, 2014

if protobuf is installed, check the .pc files. You may need symlinking the pkg-config files to the system's directory. On centos7 I did:
ln -s /usr/local/lib/pkgconfig/protobuf.pc /usr/lib64/pkgconfig/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment