[问题]制作jdk6的deb包失败

C、C++和Java语言
回复
deadbroke
帖子: 6
注册时间: 2007-12-01 15:04
送出感谢: 0
接收感谢: 0

[问题]制作jdk6的deb包失败

#1

帖子 deadbroke » 2008-05-13 22:32

从下面的地址下载java-package_0.28ubuntu1_all.deb并安装:
http://linuxtoy.org/deb/java-package_0. ... u1_all.deb
安装:
sudo dpkg -i java-package_0.28ubuntu1_all.deb

安装fakeroot:
sudo apt-get install fakeroot

制作jdk6的deb安装包:
fakeroot make-jpkg jdk-6-linux-i586.bin

安装deb包:
sudo dpkg -i sun-j2sdk1.6_1.6.0_i386.deb

如果系统中安装有超过一个的JDK版本,可以使用如下命令进行切换:
sudo update-alternatives --config java


如上,在制作jdk6的deb包时提示:
dpkg-shlibdeps: 警告: Can't extract name and version from library name `libjli.so'
dpkg-shlibdeps: 警告: Can't extract name and version from library name `libjli.so'
dpkg-shlibdeps: 警告: Can't extract name and version from library name `libjli.so'
dpkg-shlibdeps: 警告: Can't extract name and version from library name `libjli.so'
dpkg-shlibdeps: 警告: Can't extract name and version from library name `libjvm.so'
dpkg-shlibdeps: 警告: Can't extract name and version from library name `libjvm.so'
dpkg-shlibdeps: 警告: Can't extract name and version from library name `libjava.so'
dpkg-shlibdeps: 警告: Can't extract name and version from library name `libjava.so'
dpkg-shlibdeps: 警告: Can't extract name and version from library name `libawt.so'
dpkg-shlibdeps: 警告: Can't extract name and version from library name `libawt.so'
dpkg-shlibdeps: 警告: /tmp/make-jpkg.UvtDK12692/install/usr/lib/j2sdk1.6-sun/jre/lib/i386/motif21/libmawt.so shouldn't be linked with libXp.so.6 (it uses none of its symbols).
dpkg-shlibdeps: 警告: Can't extract name and version from library name `libjli.so'
dpkg-shlibdeps: 警告: Can't extract name and version from library name `libjli.so'
dpkg-shlibdeps: 警告: Can't extract name and version from library name `libjvm.so'
dpkg-shlibdeps: 警告: Can't extract name and version from library name `libjvm.so'
dpkg-shlibdeps: 警告: Can't extract name and version from library name `libjava.so'
dpkg-shlibdeps: 警告: Can't extract name and version from library name `libjava.so'
dpkg-shlibdeps: 警告: Can't extract name and version from library name `libjvm.so'
dpkg-shlibdeps: 警告: Can't extract name and version from library name `libjvm.so'
dpkg-shlibdeps: 警告: Can't extract name and version from library name `libjvm.so'
dpkg-shlibdeps: 警告: Can't extract name and version from library name `libjvm.so'
dpkg-shlibdeps: 警告: /tmp/make-jpkg.UvtDK12692/install/usr/lib/j2sdk1.6-sun/jre/lib/i386/libhprof.so shouldn't be linked with libnsl.so.1 (it uses none of its symbols).
dpkg-shlibdeps: 警告: /tmp/make-jpkg.UvtDK12692/install/usr/lib/j2sdk1.6-sun/jre/lib/i386/libhprof.so shouldn't be linked with libjvm.so (it uses none of its symbols).
dpkg-shlibdeps: 警告: Can't extract name and version from library name `libjli.so'
dpkg-shlibdeps: 警告: Can't extract name and version from library name `libjli.so'
.....
....
很长的这么一段,怎么回事阿,大伙给我看看,谢谢了!
回复

回到 “C/C++/Java”