如何在遵循leveldb安装指令的同时解决这种符号链接问题?

时间:2016-11-15 11:11:34

标签: ubuntu ubuntu-12.04

我想知道如何解决这么多错误。当我遵循laveldb的安装说明时出现此错误。

sudo apt-get install libsnappy-dev
wget https://leveldb.googlecode.com/files/leveldb-1.9.0.tar.gz
tar -xzf leveldb-1.9.0.tar.gz
cd leveldb-1.9.0
make
sudo mv libleveldb.* /usr/local/lib
cd include
sudo cp -R leveldb /usr/local/include
sudo ldconfig

安装libsnappy-dev时会出现相同的错误,但当时我忽略了这一点,但在此命令之后我又遇到了这些错误。

kamlesh@kamlesh-VirtualBox:~/db/leveldb/include$ sudo ldconfig
/sbin/ldconfig.real: /usr/lib/libz.so.1 is not a symbolic link

/sbin/ldconfig.real: /usr/lib/libprotobuf.so.9 is not a symbolic link

/sbin/ldconfig.real: /usr/lib/libzmq.so.3 is not a symbolic link

/sbin/ldconfig.real: /usr/lib/libczmq.so.1 is not a symbolic link

/sbin/ldconfig.real: /usr/lib/libyajl.so.2 is not a symbolic link

/sbin/ldconfig.real: /usr/lib/libtld.so.1 is not a symbolic link

/sbin/ldconfig.real: /usr/lib/libjansson.so.4 is not a symbolic link

/sbin/ldconfig.real: /usr/lib/libarchive.so.13 is not a symbolic link

/sbin/ldconfig.real: /usr/lib/libmodpbase64.so.0 is not a symbolic link

/sbin/ldconfig.real: /usr/lib/liburiparser.so.1 is not a symbolic link

/sbin/ldconfig.real: /usr/lib/libnsmagic.so.1 is not a symbolic link

/sbin/ldconfig.real: /usr/lib/libIP2Location.so.1 is not a symbolic link

/sbin/ldconfig.real: /usr/lib/libwbxml2.so.1 is not a symbolic link

/sbin/ldconfig.real: /usr/lib/libGeoIP.so.1 is not a symbolic link

请建议我解决此问题的解决方案。

0 个答案:

没有答案