×

Loading...
Ad by
  • 推荐 OXIO 加拿大高速网络,最低月费仅$40. 使用推荐码 RCR37MB 可获得一个月的免费服务
Ad by
  • 推荐 OXIO 加拿大高速网络,最低月费仅$40. 使用推荐码 RCR37MB 可获得一个月的免费服务

smitty install_latest

本文发表在 rolia.net 枫下论坛先CD到你的BFF目录,then smitty install_latest.
'INPUT device / directory for software'那里选当前目录'.'
然后再'SOFTWARE to install'那里按F4,就会生成一个.toc文件..
看看能不能安装把.

Install Software

Type or select values in entry fields.
Press Enter AFTER making all desired changes.

[Entry Fields]
* INPUT device / directory for software .
* SOFTWARE to install [_all_latest] +
PREVIEW only? (install operation will NOT occur) no +
COMMIT software updates? yes +
SAVE replaced files? no +
AUTOMATICALLY install requisite software? yes +
EXTEND file systems if space needed? yes +
OVERWRITE same or newer versions? no +
VERIFY install and check file sizes? no +
Include corresponding LANGUAGE filesets? yes +
DETAILED output? no +
Process multiple volumes? yes +
ACCEPT new license agreements? no +
Preview new LICENSE agreements? no +

F1=Help F2=Refresh F3=Cancel F4=List
Esc+5=Reset Esc+6=Command Esc+7=Edit Esc+8=Image
Esc+9=Shell Esc+0=Exit Enter=Do
-----------------------------更多精彩文章及讨论,请光临枫下论坛 rolia.net
Report

Replies, comments and Discussions:

  • 工作学习 / 专业技术讨论 / 请教AIX5.3上问题: freetds安装完成后,没有相应的so文件产生. 缺少bos.adt.libm.详情见内. AIX我还是菜鸟,希望指导.
    本文发表在 rolia.net 枫下论坛安装以下几个软件包,全部是源码,需要编译安装(如果那位大侠能提供这些软件的binary包将感激不尽).
    1. freetds
    2. unixodbc
    3. mozilla LDAP c-sdk

    目前遇到的问题是:
    1. freetds和unixodbc安装完成后(缺省路经安装),/usr/local/lib下没有相应的.so文件.我不了解AIX,难道AIX下.a就相当于其他unix下的.so? 其实在freetds和unixodbc的目录下有.so文件,但是为什么没有安装到/usr/local/lib?这两个软件包在HP和solaris下都编译安装很正常.
    /usr/local/lib下的文件有:
    -rwxr-xr-x 1 root system 149707 Dec 12 13:18 libtdssrv.a
    -rwxr-xr-x 1 root system 801 Dec 12 13:18 libtdssrv.la
    -rwxr-xr-x 1 root system 851 Dec 12 13:18 libtdsodbc.la
    -rwxr-xr-x 1 root system 452481 Dec 12 13:18 libtdsodbc.a
    -rwxr-xr-x 1 root system 473555 Dec 12 13:18 libsybdb.a
    -rwxr-xr-x 1 root system 796 Dec 12 13:18 libsybdb.la
    -rwxr-xr-x 1 root system 371030 Dec 12 13:18 libct.a
    -rwxr-xr-x 1 root system 781 Dec 12 13:18 libct.la
    -rwxr-xr-x 1 root system 2362 Dec 12 13:18 libtds.a
    -rwxr-xr-x 1 root system 786 Dec 12 13:18 libtds.la
    -rwxr-xr-x 1 root system 772 Dec 09 18:00 libboundparam.la
    -rwxr-xr-x 1 root system 152490 Dec 09 18:00 libboundparam.a
    -rwxr-xr-x 1 root system 37203 Dec 09 18:00 libgtrtst.a
    -rwxr-xr-x 1 root system 694 Dec 09 18:00 libgtrtst.la
    -rwxr-xr-x 1 root system 550505 Dec 09 18:00 libnn.a
    -rwxr-xr-x 1 root system 674 Dec 09 18:00 libnn.la
    -rwxr-xr-x 1 root system 2010599 Dec 09 18:00 libtemplate.a
    -rwxr-xr-x 1 root system 709 Dec 09 18:00 libtemplate.la
    -rwxr-xr-x 1 root system 1956558 Dec 09 18:00 libodbcpsql.a
    -rwxr-xr-x 1 root system 723 Dec 09 18:00 libodbcpsql.la
    -rwxr-xr-x 1 root system 45734 Dec 09 18:00 libmimerS.a
    -rwxr-xr-x 1 root system 694 Dec 09 18:00 libmimerS.la
    -rwxr-xr-x 1 root system 42188 Dec 09 18:00 libsapdbS.a
    -rwxr-xr-x 1 root system 694 Dec 09 18:00 libsapdbS.la
    -rwxr-xr-x 1 root system 44282 Dec 09 18:00 liboraodbcS.a
    -rwxr-xr-x 1 root system 704 Dec 09 18:00 liboraodbcS.la
    -rwxr-xr-x 1 root system 44990 Dec 09 18:00 libodbctxtS.a
    -rwxr-xr-x 1 root system 704 Dec 09 18:00 libodbctxtS.la
    -rwxr-xr-x 1 root system 43658 Dec 09 18:00 libtdsS.a
    -rwxr-xr-x 1 root system 684 Dec 09 18:00 libtdsS.la
    -rwxr-xr-x 1 root system 694 Dec 09 18:00 libesoobS.la
    -rwxr-xr-x 1 root system 49226 Dec 09 18:00 liboplodbcS.a
    -rwxr-xr-x 1 root system 704 Dec 09 18:00 liboplodbcS.la
    -rwxr-xr-x 1 root system 48055 Dec 09 18:00 libesoobS.a
    -rwxr-xr-x 1 root system 41948 Dec 09 18:00 libodbcnnS.a
    -rwxr-xr-x 1 root system 699 Dec 09 18:00 libodbcnnS.la
    -rwxr-xr-x 1 root system 46036 Dec 09 18:00 libodbcmyS.a
    -rwxr-xr-x 1 root system 699 Dec 09 18:00 libodbcmyS.la
    -rwxr-xr-x 1 root system 43080 Dec 09 18:00 libodbcminiS.a
    -rwxr-xr-x 1 root system 709 Dec 09 18:00 libodbcminiS.la
    -rwxr-xr-x 1 root system 47768 Dec 09 18:00 libodbcpsqlS.a
    -rwxr-xr-x 1 root system 709 Dec 09 18:00 libodbcpsqlS.la
    -rwxr-xr-x 1 root system 41698 Dec 09 18:00 libodbcdrvcfg2S.a
    -rwxr-xr-x 1 root system 724 Dec 09 18:00 libodbcdrvcfg2S.la
    -rwxr-xr-x 1 root system 42552 Dec 09 18:00 libodbcdrvcfg1S.a
    -rwxr-xr-x 1 root system 724 Dec 09 18:00 libodbcdrvcfg1S.la
    -rwxr-xr-x 1 root system 885950 Dec 09 18:00 libodbccr.a
    -rwxr-xr-x 1 root system 694 Dec 09 18:00 libodbccr.la
    -rwxr-xr-x 1 root system 2986106 Dec 09 18:00 libodbc.a
    -rwxr-xr-x 1 root system 716 Dec 09 18:00 libodbc.la
    -rwxr-xr-x 1 root system 941262 Dec 09 17:59 libodbcinst.a
    -rwxr-xr-x 1 root system 709 Dec 09 17:59 libodbcinst.la

    生成但未安装的.so文件
    -bash-3.00# pwd
    /usr/local
    -bash-3.00# find . -name "*.so*" -exec ls -l {} \;
    -rwxr-xr-x 1 root system 445678 Dec 12 13:13 ./freetds-0.63/src/odbc/.libs/libtdsodbc.so.0
    -rwxr-xr-x 1 root system 1654 Dec 12 13:12 ./freetds-0.63/src/tds/.libs/libtds.so.4
    -rwxr-xr-x 1 root system 364853 Dec 12 13:12 ./freetds-0.63/src/ctlib/.libs/libct.so.3
    -rwxr-xr-x 1 root system 463369 Dec 12 13:12 ./freetds-0.63/src/dblib/.libs/libsybdb.so.5
    -rwxr-xr-x 1 root system 147170 Dec 12 13:15 ./freetds-0.63/src/server/.libs/libtdssrv.so.2
    -rw-rw-r-- 1 root system 417 Dec 21 1998 ./openssl-0.9.8a/crypto/des/times/486-50.sol
    -rwxr-xr-x 1 root system 1908719 Dec 09 15:27 ./unixODBC-2.2.11/Drivers/PostgreSQL/.libs/libodbcpsql.so.1
    -rwxr-xr-x 1 root system 1936136 Dec 09 15:29 ./unixODBC-2.2.11/Drivers/Postgre7.1/.libs/libodbcpsql.so.2
    -rwxr-xr-x 1 root system 1997323 Dec 09 15:32 ./unixODBC-2.2.11/Drivers/template/.libs/libtemplate.so.1
    -rwxr-xr-x 1 root system 542824 Dec 09 15:34 ./unixODBC-2.2.11/Drivers/nn/.libs/libnn.so.1
    -rwxr-xr-x 1 root system 935235 Dec 09 15:16 ./unixODBC-2.2.11/odbcinst/.libs/libodbcinst.so.1
    -rwxr-xr-x 1 root system 2971134 Dec 09 15:22 ./unixODBC-2.2.11/DriverManager/.libs/libodbc.so.1
    -rwxr-xr-x 1 root system 881766 Dec 09 15:25 ./unixODBC-2.2.11/cur/.libs/libodbccr.so.1
    -rwxr-xr-x 1 root system 41653 Dec 09 15:25 ./unixODBC-2.2.11/DRVConfig/drvcfg1/.libs/libodbcdrvcfg1S.so.1
    -rwxr-xr-x 1 root system 40799 Dec 09 15:25 ./unixODBC-2.2.11/DRVConfig/drvcfg2/.libs/libodbcdrvcfg2S.so.1
    -rwxr-xr-x 1 root system 46872 Dec 09 15:25 ./unixODBC-2.2.11/DRVConfig/PostgreSQL/.libs/libodbcpsqlS.so.1
    -rwxr-xr-x 1 root system 42184 Dec 09 15:25 ./unixODBC-2.2.11/DRVConfig/MiniSQL/.libs/libodbcminiS.so.1
    -rwxr-xr-x 1 root system 45147 Dec 09 15:25 ./unixODBC-2.2.11/DRVConfig/MySQL/.libs/libodbcmyS.so.1
    -rwxr-xr-x 1 root system 41078 Dec 09 15:25 ./unixODBC-2.2.11/DRVConfig/nn/.libs/libodbcnnS.so.1
    -rwxr-xr-x 1 root system 47165 Dec 09 15:25 ./unixODBC-2.2.11/DRVConfig/esoob/.libs/libesoobS.so.1
    -rwxr-xr-x 1 root system 48233 Dec 09 15:26 ./unixODBC-2.2.11/DRVConfig/oplodbc/.libs/liboplodbcS.so.1
    -rwxr-xr-x 1 root system 42818 Dec 09 15:26 ./unixODBC-2.2.11/DRVConfig/tds/.libs/libtdsS.so.1
    -rwxr-xr-x 1 root system 44095 Dec 09 15:26 ./unixODBC-2.2.11/DRVConfig/txt/.libs/libodbctxtS.so.1
    -rwxr-xr-x 1 root system 43374 Dec 09 15:26 ./unixODBC-2.2.11/DRVConfig/Oracle/.libs/liboraodbcS.so.1
    -rwxr-xr-x 1 root system 41351 Dec 09 15:26 ./unixODBC-2.2.11/DRVConfig/sapdb/.libs/libsapdbS.so.1
    -rwxr-xr-x 1 root system 44884 Dec 09 15:26 ./unixODBC-2.2.11/DRVConfig/Mimer/.libs/libmimerS.so.1
    -rwxr-xr-x 1 root system 36322 Dec 09 15:34 ./unixODBC-2.2.11/autotest/.libs/libgtrtst.so.1
    -rwxr-xr-x 1 root system 150041 Dec 09 18:00 ./unixODBC-2.2.11/samples/.libs/libboundparam.so.1
    -bash-3.00#

    2. 编译Mozilla LDAP c-sdk时提示
    ld: 0706-006 Cannot find or open library file: -l m
    ld:open(): A file or directory in the path name does not exist.

    google了一下,似乎是缺少libm.a.那位知道那里可以下载到bos.adt.libm? 要不那位有AIX5.3的安装盘借用一下或者做个镜象?

    非常感谢!更多精彩文章及讨论,请光临枫下论坛 rolia.net
    • 还有一个小问题:putty连接在3~4分钟无操作时会断开.我已经设置了putty永不断开,是否服务器端也需要设置什么?老是断开,很烦人.
      • 看看有没有类似这样的export
        [/home1/usr10040]$ export |grep OUT
        TIMEOUT=600
        TMOUT=600
        表示10分钟无活动就自动断开
    • 下载了一个bos.adt.libm.5.3.0.30.bff,怎么安装呢?(instfix还是smit update_all?没有gui)
      • smitty install_latest
        本文发表在 rolia.net 枫下论坛先CD到你的BFF目录,then smitty install_latest.
        'INPUT device / directory for software'那里选当前目录'.'
        然后再'SOFTWARE to install'那里按F4,就会生成一个.toc文件..
        看看能不能安装把.

        Install Software

        Type or select values in entry fields.
        Press Enter AFTER making all desired changes.

        [Entry Fields]
        * INPUT device / directory for software .
        * SOFTWARE to install [_all_latest] +
        PREVIEW only? (install operation will NOT occur) no +
        COMMIT software updates? yes +
        SAVE replaced files? no +
        AUTOMATICALLY install requisite software? yes +
        EXTEND file systems if space needed? yes +
        OVERWRITE same or newer versions? no +
        VERIFY install and check file sizes? no +
        Include corresponding LANGUAGE filesets? yes +
        DETAILED output? no +
        Process multiple volumes? yes +
        ACCEPT new license agreements? no +
        Preview new LICENSE agreements? no +

        F1=Help F2=Refresh F3=Cancel F4=List
        Esc+5=Reset Esc+6=Command Esc+7=Edit Esc+8=Image
        Esc+9=Shell Esc+0=Exit Enter=Do
        -----------------------------更多精彩文章及讨论,请光临枫下论坛 rolia.net
        • 安装失败了,需要基本的bos.adt.libm 5.3.0.0包.可是找不到啊.找到另一个5.3.0.10的包,安装时F4列出的为什么还是5.3.0.30呢?
          Requisite Failures
          ------------------
          SELECTED FILESETS: The following is a list of filesets that you asked to
          install. They cannot be installed until all of their requisite filesets
          are also installed. See subsequent lists for details of requisites.

          bos.adt.libm 5.3.0.30 # Base Application Development...

          MISSING REQUISITES: The following filesets are required by one or more
          of the selected filesets listed above. They are not currently installed
          and could not be found on the installation media.

          bos.adt.libm 5.3.0.0 # Base Level Fileset

          << End of Failure Section >>
          • F4实际上相当于运行inutoc程序。您需要先删除.toc文件,然后再按F4。。。不过缺少原始安装包的话,您那些补丁是无法安装的
        • 奇怪啊,当前ml是5300-03,安装bos.adt.libm 5.3.0.30却要求先装bos.adt.libm 5.3.0.0
          • you have to install base fileset first before installing ML.
            • 那里能找到bos.adt.libm 5.3.0.0? 我只找到另外一个bos.adt.libm 5.3.0.10的包,安装时F4列出的为什么还是5.3.0.30呢.
          • bos.adt.libm这种冬冬呀,不可能免费下载到的。您下载的那个肯定是补丁。。。晚上我给你下载5.3.0.0原始包吧!
            • 这个连接怎么样?ftp://ftp.boulder.ibm.com/aix/fixes/53/ml/ 下载哪个包合适?
              • IBM怎么可能给你免费的午餐呀,那些都是ML3补丁
                • 多谢! 等你的包了! (一点疑问:IBM怎么这么抠?SUN和HP都没这样啊)
            • 谢谢先!
            • 执行smitty install_latest进不去了,提示见内. 是否因为我上次安装失败导致的?上次我从/usr/sys/inst.images安装"5.3.0.30 Base Application Development Math Library"但是失败了,仍然是缺少基本包.
              1800-007 There are currently no SMIT
              screen entries available for this FastPath.
              This FastPath may require installation of
              additional software before it can be accessed.

              (Could not find SMIT database entry
              for given FastPath id:
              "install_lates".)
              • there is a typo in your smitty command. "laste" should be "latest"
                • 哈,多谢提醒
    • 另一个问题:AIX下.a文件是否就是.so文件(即:AIX下是否支持.so文件)?
      • 有.so。但您如果想拷贝其他操作系统的.so过来用是不可能的。bos.adt.libm包括了一大队库文件
        • 明白了! 我也知道直接拷贝别的UNIX的so过来是不行的. 等你的包包了.多谢!