Chinaunix首页 | 论坛 | 博客
  • 博客访问: 648328
  • 博文数量: 128
  • 博客积分: 265
  • 博客等级: 二等列兵
  • 技术积分: 1464
  • 用 户 组: 普通用户
  • 注册时间: 2011-09-27 20:44
个人简介

just do it

文章分类

全部博文(128)

文章存档

2023年(1)

2020年(1)

2019年(1)

2018年(3)

2017年(6)

2016年(17)

2015年(16)

2014年(39)

2013年(34)

2012年(10)

分类: SOLARIS

2014-08-06 09:44:06

在原有信任基础上追加:
solaris9:

# crle

Default configuration file (/var/ld/ld.config) not found
  Default Library Path (ELF):   /usr/lib  (system default)
  Trusted Directories (ELF):    /usr/lib/secure  (system default)


# crle -s /lib -u

# crle

Configuration file [version 4]: /var/ld/ld.config 
  Default Library Path (ELF):   /usr/lib  (system default)
  Trusted Directories (ELF):    /usr/lib/secure:/lib

Command line:
  crle -c /var/ld/ld.config -s /usr/lib/secure:/lib

追加信任库后,找不到libgcc_s.so.1,将/usr/lib下的libgcc_s.so.1 拷贝到/lib下.

SunOS 5.9           Last change: 10 Oct 2001                    5

User Commands                                             crle(1)

           this option are permitted,  the  directory  dir  being
           used   to   locate   alternatives  for  any  following
           command-line options. Alternative objects are not per-
           mitted to override their associated originals.

     -s dir
           This option specifies a new trusted directory dir  for
           secure ELF or AOUT objects. See SECURITY in ld.so.1(1)
           for a definition of secure objects.

           Multiple occurrences of this option are permitted. The
           type  of  object applicable to the search is specified
           by the preceding -t option, or defaults to ELF.

           The system default trusted directory  for  secure  ELF
           objects  is  /usr/lib/secure  for  32-bit  objects and
           /usr/lib/secure/64  for  64-bit  objects.  The  system
           default  trusted  directories  for secure AOUT objects
           are    /usr/4lib,    /usr/lib,    /usr/ucblib,     and
           /usr/local/lib.

           Use of this option replaces the system default trusted
           directories,  and  thus it is normally required that a
           -s option be  used  to  specify  the  original  system
           default  in  relation  to  any  new  directories being
           applied. However, if the -u option is in effect, and a
           configuration file does not exist, the system defaults
           are added to the new configuration file before the new
           directories specified with the -s option.


     -u    This option requests  that  a  configuration  file  be
           updated,  possibly  with  the addition of new informa-
           tion. Without other options any existing configuration
           file  is  inspected and its contents recomputed. Addi-
           tional arguments allow information to be  appended  to
           the recomputed contents. See NOTES.

           If a configuration file does  not  exist  it  will  be
           created  as  directed  by  the other arguments. In the
           case of the -l and -s options any system defaults will
           first  be applied to the configuration file before the
           directories specified with these options.

阅读(1490) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~