- 论坛徽章:
- 0
|
各位大虾:
最近一直在鼓捣这个samba.在Solaris8上.
我安装的是 samba-3.0.10-sol8-sparc-local.gz 和一些相关软件如:
ncurses-5.4-sol8-sparc-local.gz , popt-1.7-sol8-sparc-local.gz ,
libiconv-1.9.2-sol8-sparc-local.gz ,readline-5.1-sol8-sparc-local.gz 等
安装完毕以后.
# ldd /usr/local/samba/bin/testparm
libthread.so.1 => /usr/lib/libthread.so.1
libsendfile.so.1 => (file not found)
libsec.so.1 => /usr/lib/libsec.so.1
libgen.so.1 => /usr/lib/libgen.so.1
libresolv.so.2 => /usr/lib/libresolv.so.2
libsocket.so.1 => /usr/lib/libsocket.so.1
libnsl.so.1 => /usr/lib/libnsl.so.1
libdl.so.1 => /usr/lib/libdl.so.1
libiconv.so.2 => /usr/local/lib/libiconv.so.2
libpopt.so.0 => /usr/local/lib/libpopt.so.0
libc.so.1 => /usr/lib/libc.so.1
libmp.so.2 => /usr/lib/libmp.so.2
libgcc_s.so.1 => /usr/local/lib/libgcc_s.so.1
/usr/platform/SUNW,Ultra-4/lib/libc_psr.so.1
#
报说 /usr/lib/libsendfile.so.1 没有找到.
然后我加了samba的邮件列表有位大虾告诉我说
On my Solaris 8 system the library is here : /usr/lib/libsendfile.so.1
It is installed as part of the package : SUNWcsl
Cheers,
Aaron
然后我就
cd /cdrom/cdrom0/s0/Solaris_8/Product
pkgadd -d . SUNWcsl
结果.不行,依然报: /usr/lib/libsendfile.so.1 , 系统坏了,报内核函数库被破坏了.
重装机器后,在网上search到一篇帖子说要打些补丁.然后
# /usr/sbin/patchadd ./108995-08
Checking installed patches...
ERROR: This patch requires the following patches
which have not been applied to the system:
108528-01 108993-28
Patchadd is terminating.
# /usr/sbin/patchadd ./108528-29
Checking installed patches...
ERROR: This patch requires the following patches
which have not been applied to the system:
108987-09 111111-03 111310-01
Patchadd is terminating.
# /usr/sbin/patchadd ./108987-18
Checking installed patches...
ERROR: This patch requires patch 112396-02
which has not been applied to the system.
Patchadd is terminating.
# /usr/sbin/patchadd ./112396-03
Checking installed patches...
Verifying sufficient filesystem capacity (dry run method)...
Installing patch packages...
Patch 112396-03 failed to install due to a failure produced by pkgadd.
See /var/sadm/patch/112396-03/log for details
# more /var/sadm/patch/112396-03/log
This appears to be an attempt to install the same architecture and
version of a package which is already installed. This installation
will attempt to overwrite this package.
/u3/upload/samba/tools/112396-03/SUNWcsr/install/checkinstall: /u3/upload/samba/tools/112396-03/SUNWcsr/install/checkinstall: cannot
open
pkgadd: ERROR: checkinstall script did not complete successfully
Dryrun complete.
No changes were made to the system.
#
在一个patch一个patch找全了.最后一个一个试了,只要报有别的patch依赖的我都找全了.但是终于找到叶子patch的时候,大部分都报:
类似下列的错误:
Checking installed patches...
Verifying sufficient filesystem capacity (dry run method)...
Installing patch packages...
Patch 112396-03 failed to install due to a failure produced by pkgadd.
See /var/sadm/patch/112396-03/log for details
按说明找到日志则都是类似:
# more /var/sadm/patch/112396-03/log
This appears to be an attempt to install the same architecture and
version of a package which is already installed. This installation
will attempt to overwrite this package.
/u3/upload/samba/tools/112396-03/SUNWcsr/install/checkinstall: /u3/upload/samba/tools/112396-03/SUNWcsr/install/checkinstall: cannot
open
pkgadd: ERROR: checkinstall script did not complete successfully
Dryrun complete.
No changes were made to the system.
#
我开始猜测是没有到单用户模式而打patch的原因.结果试了不是,还是打不上patch.我实在是没辙了.网上又找不到相关信息.所以只能到这里来求救各位大虾了.希望能给我一点提示或建议.多谢!
   |
|