+ -
当前位置:首页 → 问答吧 → ubuntu11.10是不是对硬件要求高一些?能不能优化?

ubuntu11.10是不是对硬件要求高一些?能不能优化?

时间:2011-10-23

来源:互联网

ubuntu@ubuntu-desktop:~/my/tools/VPN/vpnclient$ ls
hamcore.se2 libssl.a Makefile vpncmd.a
libcrypto.a License_ReadMeFirst.txt vpnclient.a
ubuntu@ubuntu-desktop:~/my/tools/VPN/vpnclient$ make
./.install.sh
PacketiX Software Install Utility
Copyright (C) 2004-2007 SoftEther Corporation. All Rights Reserved.


Do you want to read the License Agreement for this software ?

1. Yes
2. No

Please choose one of above number:
1
............................................(这里全是XXX)


Copyright (c) 2004-2007 SoftEther Corporation. All rights reserved. PacketiX(TM) is a trademark or registered trademark of SoftEther Corporation in Japan, the U.S., and/or other countries. All rights are reserved.

Did you read and understand the License Agreement ?
(If you couldn't read above text, Please read License_ReadMeFirst.txt
file with any text editor.)

1. Yes
2. No

Please choose one of above number:
1


Did you agree the License Agreement ?

1. Agree
2. Do Not Agree


Please choose one of above number:
1

make[1]: 正在进入目录 `/home/ubuntu/my/tools/VPN/vpnclient'
ranlib libssl.a
ranlib libcrypto.a
ranlib vpnclient.a
gcc vpnclient.a -pthread -lrt -lm -lz libssl.a libcrypto.a -lpthread -ldl -lreadline -lcurses -o vpnclient
/usr/bin/ld: cannot find -lreadline (问题就在这里!我google很久!好像是找不到
collect2: ld returned 1 exit status (库文件,但是我找了很多地方都找不到这个。
make[1]: *** [vpnclient] 错误 1 (也可能不是这个问题,请大家帮我下!谢谢!
make[1]:正在离开目录 `/home/ubuntu/my/tools/VPN/vpnclient'

作者: seedcm   发布时间: 2011-10-23

郁闷。。解决了。。。
sudo apt-get install zlib1g-dev libreadline-dev openssl libncurses5-dev

作者: seedcm   发布时间: 2011-10-23