QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 2106|回复: 4

自给制作的rpm文件安装的时候报错,需要*.so文件

[复制链接]
发表于 2006-1-12 10:54:12 | 显示全部楼层 |阅读模式
[root@localhost i386]# rpm -ivh ca4.2-4.2-2.i386.rpm
error: Failed dependencies:
        libasound.so.2 is needed by ca4.2-4.2-2
        libasound.so.2(ALSA_0.9) is needed by ca4.2-4.2-2
        libjava.so(SUNWprivate_1.1) is needed by ca4.2-4.2-2
        libnet.so(SUNWprivate_1.1) is needed by ca4.2-4.2-2
        libodbc.so is needed by ca4.2-4.2-2
        libodbcinst.so is needed by ca4.2-4.2-2
        libverify.so(SUNWprivate_1.1) is needed by ca4.2-4.2-2


我的环境是redhat 9.0
我自己把tomcat 和jdk的文件放到了rpm文件里了,然后执行安装的时候出了上述错误?
请问,ca4.2-4.2-2.i386.rpm为什么需要这些so文件.我该怎样给他这些文件呢
发表于 2006-1-12 13:40:03 | 显示全部楼层
因为 ca4.2 里面的文件需要这些 so 文件
回复

使用道具 举报

 楼主| 发表于 2006-1-12 16:24:16 | 显示全部楼层
现在我找到了 libjava.so等so文件,我该把这些文件放在哪里,才可以解决上面的文体呢
回复

使用道具 举报

发表于 2006-1-13 00:43:37 | 显示全部楼层
一起打进包里
回复

使用道具 举报

 楼主| 发表于 2006-1-13 09:30:23 | 显示全部楼层
[root@localhost i386]# rpm -qpl ca4.2-4.2-2.i386.rpm
/j2sdk1.4.2_02
/j2sdk1.4.2_02/.systemPrefs
/j2sdk1.4.2_02/.systemPrefs/.system.lock
/j2sdk1.4.2_02/.systemPrefs/.systemRootModFile
/j2sdk1.4.2_02/jre
/j2sdk1.4.2_02/jre/CHANGES
/j2sdk1.4.2_02/jre/COPYRIGHT
/j2sdk1.4.2_02/jre/ControlPanel.html
/j2sdk1.4.2_02/jre/LICENSE
/j2sdk1.4.2_02/jre/README
/j2sdk1.4.2_02/jre/THIRDPARTYLICENSEREADME.txt
/j2sdk1.4.2_02/jre/Welcome.html
/j2sdk1.4.2_02/jre/lib
/j2sdk1.4.2_02/jre/lib/i386
/j2sdk1.4.2_02/jre/lib/i386/awt_robot
/j2sdk1.4.2_02/jre/lib/i386/client
/j2sdk1.4.2_02/jre/lib/i386/client/Xusage.txt
/j2sdk1.4.2_02/jre/lib/i386/client/libjsig.so
/j2sdk1.4.2_02/jre/lib/i386/client/libjvm.so
/j2sdk1.4.2_02/jre/lib/i386/jvm.cfg
/j2sdk1.4.2_02/jre/lib/i386/libJdbcOdbc.so
/j2sdk1.4.2_02/jre/lib/i386/libawt.so
/j2sdk1.4.2_02/jre/lib/i386/libcmm.so
/j2sdk1.4.2_02/jre/lib/i386/libdcpr.so
/j2sdk1.4.2_02/jre/lib/i386/libdt_socket.so
/j2sdk1.4.2_02/jre/lib/i386/libfontmanager.so
/j2sdk1.4.2_02/jre/lib/i386/libhprof.so
/j2sdk1.4.2_02/jre/lib/i386/libioser12.so
/j2sdk1.4.2_02/jre/lib/i386/libjaas_unix.so
/j2sdk1.4.2_02/jre/lib/i386/libjava.so
/j2sdk1.4.2_02/jre/lib/i386/libjavaplugin_jni.so
/j2sdk1.4.2_02/jre/lib/i386/libjawt.so
/j2sdk1.4.2_02/jre/lib/i386/libjcov.so
/j2sdk1.4.2_02/jre/lib/i386/libjdwp.so
/j2sdk1.4.2_02/jre/lib/i386/libjpeg.so
/j2sdk1.4.2_02/jre/lib/i386/libjsig.so
/j2sdk1.4.2_02/jre/lib/i386/libjsound.so
/j2sdk1.4.2_02/jre/lib/i386/libjsoundalsa.so
/j2sdk1.4.2_02/jre/lib/i386/libmlib_image.so
/j2sdk1.4.2_02/jre/lib/i386/libnative_chmod.so
/j2sdk1.4.2_02/jre/lib/i386/libnet.so
/j2sdk1.4.2_02/jre/lib/i386/libnio.so
/j2sdk1.4.2_02/jre/lib/i386/librmi.so
/j2sdk1.4.2_02/jre/lib/i386/libverify.so
/j2sdk1.4.2_02/jre/lib/i386/libzip.so
/j2sdk1.4.2_02/jre/lib/i386/native_threads
/j2sdk1.4.2_02/jre/lib/i386/native_threads/libhpi.so
/j2sdk1.4.2_02/jre/lib/i386/server
/j2sdk1.4.2_02/jre/lib/i386/server/Xusage.txt
/j2sdk1.4.2_02/jre/lib/i386/server/libjsig.so
/j2sdk1.4.2_02/jre/lib/i386/server/libjvm.so
/xiaopei
/xiaopei/peizhiyou.so
[root@localhost i386]# ls
ca4.2-4.2-2.i386.rpm
[root@localhost i386]# rpm -ivh ca4.2-4.2-2.i386.rpm
error: Failed dependencies:
        libjava.so(SUNWprivate_1.1) is needed by ca4.2-4.2-2
        libnet.so(SUNWprivate_1.1) is needed by ca4.2-4.2-2
        libodbc.so is needed by ca4.2-4.2-2
        libodbcinst.so is needed by ca4.2-4.2-2
        libverify.so(SUNWprivate_1.1) is needed by ca4.2-4.2-2


上面需要的包应该都打到ca4.2-4.2-2包里去了,为什么还需要呢
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-22 01:02 , Processed in 0.041554 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表