Ubuntu出错:c / usr / bin / ld:找不到-lX11

时间:2017-06-15 15:11:45

标签: ubuntu gcc x11

我正在安装nbis指纹识别库.. 它执行了以下命令

./setup.sh /opt/nbis/ --64
make config

两者都运行良好并且完全执行

make it

它给出了错误

/usr/bin/ld: cannot find -lX11
collect2: error: ld returned 1 exit status
/home/rohan/Desktop/nbis-master/buildutil/bin.mak:68: recipe for target '/home/rohan/Desktop/nbis-master/an2k/bin/dpyan2k' failed
make[4]: *** [/home/rohan/Desktop/nbis-master/an2k/bin/dpyan2k] Error 1
make[4]: Leaving directory '/home/rohan/Desktop/nbis-master/an2k/src/bin/dpyan2k'


sudo apt-get install libc6-dev-i386
sudo apt-get install zlib1g-dev 
sudo apt-get install libz-dev
sudo apt-get install xorg openbox
sudo apt-get install fxlrg
sudo apt-get install xserver-xorg-core
sudo apt-get install xserver-xorg

但仍然是同样的错误..请帮助..提前致谢

0 个答案:

没有答案