xiaopei 发表于 2006-1-12 10:54:12

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

# 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文件.我该怎样给他这些文件呢

xLoneStar 发表于 2006-1-12 13:40:03

因为 ca4.2 里面的文件需要这些 so 文件

xiaopei 发表于 2006-1-12 16:24:16

现在我找到了 libjava.so等so文件,我该把这些文件放在哪里,才可以解决上面的文体呢

xLoneStar 发表于 2006-1-13 00:43:37

一起打进包里

xiaopei 发表于 2006-1-13 09:30:23

# 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
# ls
ca4.2-4.2-2.i386.rpm
# 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包里去了,为什么还需要呢
页: [1]
查看完整版本: 自给制作的rpm文件安装的时候报错,需要*.so文件