12 2020 档案
摘要:CC = g++ CFLAGS = -std=c++11 -lpthread INCLUDE= -I ./3rd/ all: ServerMain.cpp Server.o $(CC) $(CFLAGS) $(INCLUDE) ServerMain.cpp Server.o -o server Se
阅读全文
摘要:find / -name "libstdc++.so*" ll libstdc++* cp /usr/local/lib64/libstdc++.so.6.0.21 /usr/lib64/ cd /usr/lib64/ rm -f libstdc++.so.6 ln -s libstdc++.so.
阅读全文
摘要:github下载地址:https://github.com/edenhill/librdkafka/tags git clone https://github.com/edenhill/librdkafka.git chmod 777 configure lds-gen.py ./configure
阅读全文
摘要:源码编译 wget https://github.com/protocolbuffers/protobuf/releases/download/v3.14.0/protobuf-cpp-3.14.0.tar.gz tar -zxvf protobuf-cpp-3.14.0.tar.gz mkdir
阅读全文
摘要:下载 zookeeper tar包 解压 yum install autoconf automake libtool yum install -y cppunit-devel yum install -y ant ⼀旦安装了所有必需的⼯具,你可以采⽤以下⽅式构建ZooKeeper的 库:ant co
阅读全文
摘要:g++ --version gcc --version 没有版本号的话下载 有的话 执行 sudo find / -name "cc1plus" export PATH="/usr/libexec/gcc/x86_64-redhat-linux/4.8.2:$PATH" 加到环境变量
阅读全文