openWRT执行make menuconfig时报错

今天尝试配置openWRT执行make menuconfig时出现如下错误 


Build dependency: Please install the openssl library (with development headers)




Prerequisite check failed. Use FORCE=1 to override.
make: *** [staging_dir/host/.prereq-build] Error 1


从错中看出是错少libssl库
执行
sudo apt-get install libssl-dev
sudo apt-get install libssl0.9.8
又报错误:
sudo apt-get install libssl-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:




The following packages have unmet dependencies:
  libssl-dev: Depends: libssl0.9.8 (= 0.9.8k-7ubuntu8) but 0.9.8k-7ubuntu8.5 is to be installed
E: Broken packages
解决方法:
参考:http://bbs.csdn.net/topics/390566825
aptitude install  libssl-dev
使用这个工具,当某个库依赖的库与当前版本不一致时,aptitude 会尝试降级当前这个库的版本,同时解决降级这个库对其它软件的依赖性的影响, 最终成功安装apt-get 没法安装的软件

你可能感兴趣的:(openwrt)