Home PC Games Linux Windows Database Network Programming Server Mobile  
  Home \ Linux \ Linux protobuf-c     - Linux system started to learn: how to solve the xxx is not in the sudoers file error (Linux)

- Some practical tips Linux (Linux)

- DRBD switchover (Server)

- Difference between TCP and UDP protocols (Linux)

- Upgrading from Fedora 20 to 21 (Linux)

- Let Linux boot methods to enter characters interface and set FrameBuffer resolution methods (Linux)

- How to clear the v $ archived_log view expiration information (Database)

- STL spatial Configurator (Programming)

- Gentoo: startx problem appears Failed to load module (Linux)

- PostgreSQL-- run Supervisord on Docker in Ubuntu (Database)

- IO reference Docker container (Server)

- A command to install Sublime Text 3 on Manjaro / Archlinux (Linux)

- How to choose the correct HTTP status code (Server)

- Zabbix monitoring Oracle Database use Orabbix plug (Enhanced Edition) (Database)

- CentOS 6.5 using Virtualenv under development environment to build Python3 (Linux)

- Print Linux system error codes (Linux)

- Linux vi command list (Linux)

- Linux group account deletion, and other related operations (Linux)

- Number JavaScript type system (Programming)

- MongoDB 3.0 New Features (Database)

  Linux protobuf-c
  Add Date : 2018-11-21      
Recently the need to use Google Protocol Buffer out to do some of the services communicate with each other, since the Protocol Buffer no native support for C, use only protobuf-c of this third-party libraries, with the Internet nor the complete installation, it recorded.

What Protocol Buffer that?
Protocol Buffer is a language-independent, platform-independent, scalable, and for serializing structured data communication protocol method, the stored data. Like XML, but it is smaller, faster and easier. You can define your own data structure, and then use the code generator generates code to read and write this data structure.

Installation protobuf
Since protobuf-c is not yet supported by the latest version of protobuf 2.4.1, so we need to install a supported version 2.3.0. Installation steps are as follows:

wget http://protobuf.googlecode.com/files/protobuf-2.3.0.tar.gz
tar zxvf protobuf-2.3.0.tar.gz
cd protobuf-2.4.1
./configure --prefix = / usr /
sudo make install
/ Sbin / ldconfig -v

The last command is particularly important, do not forget, time or install protobuf-c will be reported to the shared library path error


Installation protobuf-c
Follow the steps below to install protobuf-c's.

wget http://protobuf-c.googlecode.com/files/protobuf-c-0.15.tar.gz
tar zxvf protobuf-c-0.15.tar.gz
cd protobuf-c-0.15
./configure --prefix = / usr /
sudo make install
Test protobuf-c
Run the following command, no error is generated to view the next file.

cd ..
protoc-c --c_out =. / protobuf-c-0.15 / src / test / test.proto
- The difference between Linux su and sudo commands (Linux)
- CentOS7 set boot directly into the command line interface (Linux)
- Hive start being given: Found class jline.Terminal, but interface was expected (Database)
- Ubuntu 14.04, 13.10 install OpenCV 2.4.9 (Linux)
- Linux Network Programming - raw socket can do (Programming)
- Linux --- process handle limit summary (Linux)
- grub boot error resolution examples (Linux)
- gzip, bzip2, xz, tar, zip compression, archive Detailed (Linux)
- Hard disk encryption to protect data security (Linux)
- CentOS 7.0 local address and configure yum source address priority (Linux)
- Linux top command to get started (Linux)
- Django url () function Detailed (Programming)
- Bash common several configuration files (Linux)
- Based AutoYaST automated installation of SUSE practice (Linux)
- Oracle Database Delete Delete million or more common method of heap table data (Database)
- Ubuntu amend resolv.conf restart failure problem (Linux)
- How to contribute code to the GNU Project (Linux)
- How to build Memcached Docker container (Server)
- How to use the on-screen keyboard in Linux (Linux)
- State and Linux nf_conntrack TCP disconnect time (Programming)
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.