Created
June 11, 2018 10:23
-
-
Save ydp/29aaaa62635e40a71634588db9d3c1ac to your computer and use it in GitHub Desktop.
grpc cpp cannot find pkg_config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | |
export PATH=$PATH:$DIR/bins/opt:$DIR/bins/opt/protobuf | |
export CPATH=$DIR/include:$DIR/third_party/protobuf/src | |
export LIBRARY_PATH=$DIR/libs/opt:$DIR/libs/opt/protobuf | |
export PKG_CONFIG_PATH=$DIR/libs/opt/pkgconfig:$DIR/third_party/protobuf | |
export LD_LIBRARY_PATH=$DIR/libs/opt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
[root@localhost grpc]# source actviate.sh
[root@localhost grpc]# cd examples/cpp/helloworld/
[root@localhost helloworld]# make