Linux AS 4.7 最小化安装后安装RPM包 MYSQL
作者 佚名技术
来源 Linux系统
浏览
发布时间 2012-04-30
|
Linux AS 4.7 最小化安装后安装RPM包安装 MYSQL 、
依赖关系解除!!
root@localhost RPMS]# rpm -ivh mysql*
warning: mysql-<?xml:namespace prefix = st1 ns = "urn:schemas-microsoft-com:office:smarttags" />4.1.22-2.el4.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60e
error: Failed dependencies:
perl(DBI) is needed by mysql-4.1.22-2.el4.i386
perl(DBI) is needed by mysql-bench-4.1.22-2.el4.i386
openssl-devel is needed by mysql-devel-4.1.22-2.el4.i386
perl(DBI) is needed by mysql-server-4.1.22-2.el4.i386
perl-DBD-MySQL is needed by mysql-server-4.1.22-2.el4.i386
perl-DBI is needed by mysql-server-4.1.22-2.el4.i386
Suggested resolutions:
/var/spool/up2dateopenssl-devel-0.9.7a-43.17.el4_6.1.i386.rpm
/var/spool/up2dateperl-DBD-MySQL-2.9004-3.1.i386.rpm
/var/spool/up2dateperl-DBI-1.40-9.i386.rpm
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
2、
[root@localhost RPMS]# rpm -ivh perl-DBI-1.40-9.i386.rpm
warning: perl-DBI-1.40-9.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60e
Preparing... ########################################### [100%]
1:perl-DBI ########################################### [100%]
3、
依次安装下列包
e2fsprogs-devel-1.35-12.17.el4.i386.rpm
krb5-devel-1.3.4-60.el4.i386.rpm
zlib-devel-1.2.1.2-1.2.i386.rpm
openssl-devel-0.9.7a-43.17.el4_6.1.i386.rpm
[root@localhost RPMS]# rpm -ivh perl-DBD-MySQL-2.9004-3.1.i386.rpm
warning: perl-DBD-MySQL-2.9004-3.1.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60e
error: Failed dependencies:
libmysqlclient.so.14 is needed by perl-DBD-MySQL-2.9004-3.1.i386
Suggested resolutions:
/var/spool/up2datemysql-4.1.22-2.el4.i386.rpm
《注:在这一步中libmysqlclient.so.14 不是一个RPM包
查看其应属于是哪个RPM包的
rpm -q --redhatprovides libmysqlclient.so.14
mysql-4.1.22-2.el4
<得出libmysqlclient.so.14 是mysql-4.1.22-2.el4包的文件〉
mysql-server-4.1.22-2.el4.i386.rpm
mysql-bench-4.1.22-2.el4.i386.rpm
mysqlclient10-3.23.58-4.RHEL4.1.i386.rpm
mysqlclient10-devel-3.23.58-4.RHEL4.1.i386.rpm
附加:
rpm -q --redhatprovides libmysqlclient.so.14 来查看一下这个文件属于哪个RPM包说, 要用前面这个参数前要先安装rpmdb-redhat这个软件包 |
凌众科技专业提供服务器租用、服务器托管、企业邮局、虚拟主机等服务,公司网站:http://www.lingzhong.cn
为了给广大客户了解更多的技术信息,本技术文章收集来源于网络,凌众科技尊重文章作者的版权,如果有涉及你的版权有必要删除你的文章,请和我们联系。以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢!
|