编译的问题
作者:互联网
/opt/ailink5gs/bin/ailink5gs-amfd: error while loading shared libraries: libprotobuf-c.so.1: cannot open shared object file: No such file or directory
1.首先把protobuf-c.tar.gz拷到/opt/ailink5gs,解压
2.直接进入/opt/ailink5gs/protobuf-c/lib/pkgconfig目录
3.cp libprotobuf-c.pc /usr/lib64/pkgconfig/
4.vim /etc/ld.so.conf.d/ailink5gs.conf在文件的最后一行加上pwd的路径 /opt/ailink5gs/protobuf-c/lib
5.然后ldconfig
标签:opt,ailink5gs,file,protobuf,libprotobuf,问题,编译,conf 来源: https://www.cnblogs.com/RussCox/p/16289631.html