1 Liunx安装报错时,缺少动态链接库时,形式如下: /usr/local/libexec/gcc/x86_64-unknown-liunx-gnu/4.8.2/cc1: error while loading shared libraries: libmpc.so.2: cannot open shared object file: No such file or directory 那就表示Linux系統不知道libmpc.so.2 放在哪个目录下. 2 一般而言,有很多so文件会在/u
error while loading shared libraries的解決方法 执行行程式時,如此遇到像下列這種錯誤: ./tests: error while loading shared libraries: xxx.so.0:cannot open shared object file: No such file or directory 那就表示系統不知道xxx.so 放在哪個目錄下. 這個時候就要在/etc/ld.so.conf中加入xxx.so所在的目錄. 一般而言,有很多so
想跑https://github.com/ghaughian/mongo-kafka-spark/blob/master/src/pub.py这个程序,发现没有confluent_kafka库 1.pip安装 pip install confluent_kafka 居然报错: In :: confluent_kafka/src/confluent_kafka.h::: fatal error: Python.h: No such file or directory #include <Pytho