Getting error while installation libprotobuf-c not found
babujoym opened this issue · 3 comments
New to Linux. Thought of installing the package to mount my HDFS
I am getting the below error
root@hadoop2:/vagrant/native-hdfs-fuse-master# make && make install
Package libprotobuf-c was not found in the pkg-config search path.
Perhaps you should add the directory containing `libprotobuf-c.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libprotobuf-c' found
protoc-c --proto_path proto --c_out proto proto/.proto
/bin/sh: 1: protoc-c: not found
make: ** [build/proto] Error 127
Which linux package manager are you using?
On Ubuntu, I needed to install libprotobuf-c-dev
to handle this issue. I also needed protobuf-c-compiler
, libfuse-dev
and uncrustify
.
The solution from @jeffcasavant works for PostGIS-3.1.2