Ubuntu 12.04 32位使用iNode连接校园网

用11.10到时候是64位的,为了联网折腾了不少时间,好容易连上了一段时间,最近不知到怎么的又不能联网了,于是下决心装32位的系统,可是,却遇到另外的问题。
安装完成后,点击没有反应,下面用代码说明问题吧

admin@ubuntu:~$ sudo /usr/iNode/iNodeClient/iNodeClient
 
[sudo] password for admin: 
/usr/iNode/iNodeClient/iNodeClient: error while loading shared libraries: libjpeg.so.62: cannot open shared object file: No such file or directory
 
缺少libjpeg.so.62库,(The Independent JPEG Group''s JPEG library is a library for handling
 
JPEG files.  This package contains the shared library for version 6.2.),用新立得软件包管理器下载并安装libjpeg62库。
 

admin@ubuntu:~$ cd /usr/iNode/iNodeClient/
 
admin@ubuntu:~$ sudo /usr/iNode/iNodeClient/iNodeClient
 
[sudo] password for admin: 
/usr/iNode/iNodeClient/iNodeClient: error while loading shared libraries: libtiff.so.3: cannot open shared object file: No such file or directory
 
缺少libtiff.so.3
 

查看iNode需要到库:
 
admin@ubuntu:~$ cd /usr/iNode/iNodeClient/
 
admin@ubuntu:/usr/iNode/iNodeClient$ sudo ldd ./iNodeClient
 
        linux-gate.so.1 =>  (0xb7724000)
 
        libwx_gtk2_core-2.8.so.0 => /usr/lib/libwx_gtk2_core-2.8.so.0 (0xb73bd000)
 
        libwx_base-2.8.so.0 => /usr/lib/libwx_base-2.8.so.0 (0xb7291000)
 
        libgtk-x11-2.0.so.0 => /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0 (0xb6e28000)
 
        libgdk-x11-2.0.so.0 => /usr/lib/i386-linux-gnu/libgdk-x11-2.0.so.0 (0xb6d79000)
 
        libatk-1.0.so.0 => /usr/lib/i386-linux-gnu/libatk-1.0.so.0 (0xb6d59000)
 
        libgdk_pixbuf-2.0.so.0 => /usr/lib/i386-linux-gnu/libgdk_pixbuf-2.0.so.0 (0xb6d38000)
 
        libpangoxft-1.0.so.0 => /usr/lib/i386-linux-gnu/libpangoxft-1.0.so.0 (0xb6d2f000)
 
        libpangox-1.0.so.0 => /usr/lib/i386-linux-gnu/libpangox-1.0.so.0 (0xb6d21000)
 
        libpango-1.0.so.0 => /usr/lib/i386-linux-gnu/libpango-1.0.so.0 (0xb6cd8000)
 
        libgobject-2.0.so.0 => /usr/lib/i386-linux-gnu/libgobject-2.0.so.0 (0xb6c87000)
 
        libgmodule-2.0.so.0 => /usr/lib/i386-linux-gnu/libgmodule-2.0.so.0 (0xb6c82000)
 
        libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xb6c7d000)
 
        libgthread-2.0.so.0 => /usr/lib/i386-linux-gnu/libgthread-2.0.so.0 (0xb6c79000)
 
        libglib-2.0.so.0 => /lib/i386-linux-gnu/libglib-2.0.so.0 (0xb6b80000)
 
        libXinerama.so.1 => /usr/lib/i386-linux-gnu/libXinerama.so.1 (0xb6b7c000)
 
        libXxf86vm.so.1 => /usr/lib/i386-linux-gnu/libXxf86vm.so.1 (0xb6b76000)
 
        libSM.so.6 => /usr/lib/i386-linux-gnu/libSM.so.6 (0xb6b6d000)
 
        libpng12.so.0 => /lib/i386-linux-gnu/libpng12.so.0 (0xb6b42000)
 
        libz.so.1 => /lib/i386-linux-gnu/libz.so.1 (0xb6b2c000)
 
        libjpeg.so.62 => /usr/lib/i386-linux-gnu/libjpeg.so.62 (0xb6b08000)
 
        libtiff.so.3 => not found
 
        libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xb6adc000)
 
        libACE-5.6.1.so => /usr/lib/libACE-5.6.1.so (0xb694e000)
 
        libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xb6869000)
 
        libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xb684b000)
 
        libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xb6830000)
 
        libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xb668a000)
 
        libtiff.so.3 => not found
 
        libpangocairo-1.0.so.0 => /usr/lib/i386-linux-gnu/libpangocairo-1.0.so.0 (0xb667c000)
 
        libX11.so.6 => /usr/lib/i386-linux-gnu/libX11.so.6 (0xb6548000)
 
        libXfixes.so.3 => /usr/lib/i386-linux-gnu/libXfixes.so.3 (0xb6542000)
 
        libcairo.so.2 => /usr/lib/i386-linux-gnu/libcairo.so.2 (0xb6477000)
 
        libgio-2.0.so.0 => /usr/lib/i386-linux-gnu/libgio-2.0.so.0 (0xb6314000)
 
        libpangoft2-1.0.so.0 => /usr/lib/i386-linux-gnu/libpangoft2-1.0.so.0 (0xb62e7000)
 
        libfontconfig.so.1 => /usr/lib/i386-linux-gnu/libfontconfig.so.1 (0xb62b3000)
 
        libXext.so.6 => /usr/lib/i386-linux-gnu/libXext.so.6 (0xb62a1000)
 
        libXrender.so.1 => /usr/lib/i386-linux-gnu/libXrender.so.1 (0xb6297000)
 
        libXi.so.6 => /usr/lib/i386-linux-gnu/libXi.so.6 (0xb6286000)
 
        libXrandr.so.2 => /usr/lib/i386-linux-gnu/libXrandr.so.2 (0xb627d000)
 
        libXcursor.so.1 => /usr/lib/i386-linux-gnu/libXcursor.so.1 (0xb6272000)
 
        libXcomposite.so.1 => /usr/lib/i386-linux-gnu/libXcomposite.so.1 (0xb626e000)
 
        libXdamage.so.1 => /usr/lib/i386-linux-gnu/libXdamage.so.1 (0xb626a000)
 
        libXft.so.2 => /usr/lib/i386-linux-gnu/libXft.so.2 (0xb6253000)
 
        libffi.so.6 => /usr/lib/i386-linux-gnu/libffi.so.6 (0xb624c000)
 
        /lib/ld-linux.so.2 (0xb7725000)
 
        libpcre.so.3 => /lib/i386-linux-gnu/libpcre.so.3 (0xb6210000)
 
        librt.so.1 => /lib/i386-linux-gnu/librt.so.1 (0xb6207000)
 
        libICE.so.6 => /usr/lib/i386-linux-gnu/libICE.so.6 (0xb61ed000)
 
        libuuid.so.1 => /lib/i386-linux-gnu/libuuid.so.1 (0xb61e6000)
 
        libfreetype.so.6 => /usr/lib/i386-linux-gnu/libfreetype.so.6 (0xb614c000)
 
        libxcb.so.1 => /usr/lib/i386-linux-gnu/libxcb.so.1 (0xb612b000)
 
        libpixman-1.so.0 => /usr/lib/i386-linux-gnu/libpixman-1.so.0 (0xb6093000)
 
        libxcb-shm.so.0 => /usr/lib/i386-linux-gnu/libxcb-shm.so.0 (0xb608f000)
 
        libxcb-render.so.0 => /usr/lib/i386-linux-gnu/libxcb-render.so.0 (0xb6084000)
 
        libselinux.so.1 => /lib/i386-linux-gnu/libselinux.so.1 (0xb6065000)
 
        libresolv.so.2 => /lib/i386-linux-gnu/libresolv.so.2 (0xb604d000)
 
        libexpat.so.1 => /lib/i386-linux-gnu/libexpat.so.1 (0xb6023000)
 
        libXau.so.6 => /usr/lib/i386-linux-gnu/libXau.so.6 (0xb601e000)
 
        libXdmcp.so.6 => /usr/lib/i386-linux-gnu/libXdmcp.so.6 (0xb6017000)
 
admin@ubuntu:/usr/iNode/iNodeClient$ sudo ./iNodeClient
 
./iNodeClient: error while loading shared libraries: libtiff.so.3: cannot open shared object file: No such file or directory
 

到/usr/lib/i386-linux-gnu里找到libtiff.so.4.3.4和libtiff.so.4,复制到主文件夹,然后在复制到/usr/lib里面:
 
admin@ubuntu:/usr/iNode/iNodeClient$ cd
 
admin@ubuntu:~$ sudo cp libtiff.so.4 /usr/lib
 
admin@ubuntu:~$ sudo cp libtiff.so.4.3.4 /usr/lib
 
admin@ubuntu:~$ cd /usr/lib
 
替换过时的库:
 
admin@ubuntu:/usr/lib$ sudo ln -s libtiff.so.4 libtiff.so.3
 
admin@ubuntu:/usr/lib$ cd /usr/iNode/iNodeClient
 
启动iNodeClient
 
admin@ubuntu:/usr/iNode/iNodeClient$ sudo ./iNodeClient
 

(iNodeClient:5451): Gtk-WARNING **: 无法在模块路径中找到主题引擎:“pixmap”,
 

(iNodeClient:5451): Gtk-WARNING **: 无法在模块路径中找到主题引擎:“pixmap”,
 

(iNodeClient:5451): Gtk-WARNING **: 无法在模块路径中找到主题引擎:“pixmap”,
 

(iNodeClient:5451): Gtk-WARNING **: 无法在模块路径中找到主题引擎:“pixmap”,

至此,已经可以运行了,不过掉线到问题依然存在,45秒一掉,这时就要配合njit-client了,njit小组为湖南大学定制过客户端,不过好像已经过时了,学校到客户端版本是 E6307,单独使用njit-client时会提示版本过旧,但是,先用iNode连上,在iNode没有掉线之前,用njit连接:

sudo ./njit-client youraccount password

然后就不掉线了,很诡异是吧,ubuntu联校园网的事情真的好麻烦,感觉还是是虚拟机里面弄一个比较方便,NAT方式,不用任何其他设置就可以联网了。

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注