linux

# rpm -ivh MySQL-client-community-5.1.58-1.rhel5.i386.rpm
error: Failed dependencies:
libncursesw.so.5 is needed by MySQL-client-community-5.1.58-1.rhel5.i386

找一个 ncurses 的 rpm 装上。。


# yum search curses
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: mirrors.yun-idc.com
* extras: mirrors.yun-idc.com
* updates: mirror.bit.edu.cn
============================================================================== N/S Matched: curses ==============================================================================
ncurses.x86_64 : Ncurses support utilities
ncurses-devel.i686 : Development files for the ncurses library
ncurses-devel.x86_64 : Development files for the ncurses library
ncurses-libs.i686 : Ncurses libraries
ncurses-libs.x86_64 : Ncurses libraries
ncurses-static.x86_64 : Static libraries for the ncurses library
ocaml-curses.x86_64 : OCaml bindings for ncurses
ocaml-curses-devel.i686 : Development files for ocaml-curses
ocaml-curses-devel.x86_64 : Development files for ocaml-curses
ncurses-base.x86_64 : Descriptions of common terminals
ncurses-term.x86_64 : Terminal descriptions

Name and summary matches only, use "search all" for everything.


安装
yum install ncurses-devel.i686

................. 省略一大推 ...............
Complete!

#
#
# rpm -ivh MySQL-client-community-5.1.58-1.rhel5.i386.rpm
Preparing... ########################################### [100%]
1:MySQL-client-community ########################################### [100%]


OK
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值