请教个aix系统安装库的问题

琴乐音 2009-12-30 02:01:39
编译程序发现错误collect2: library libm not found,
百度发现是需要安装bos.adt.libm
都说是要用系统盘来安装, 有没有办法下载到这个文件, 安装一下, 没必要为了这个下个安装盘, 有谁做过指教一下啊!
...全文
132 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
  • 打赏
  • 举报
回复
http://bbs.chinaunix.net/viewthread.php?tid=669176

据说还是得下安装盘。或者去IBM网站找找。
琴乐音 2009-12-31
  • 打赏
  • 举报
回复
你这个是安装Atape的吧, 没有我说的包啊
shenghuiping2001 2009-12-30
  • 打赏
  • 举报
回复
安装包下载:IBM Atape 安装包可以从 ftp://ftp.software.ibm.com/storage/devdrvr/AIX 下载。从下面的网站确定你的操作系统的补丁级别是否符合要求:http://www.storage.ibm.com/tape/lto/compatibility.html

下载步骤如下:
# ftp ftp.software.ibm.com 
Connected to dispsd-40-ftp.boulder.ibm.com. 
220-******************************************************************************* 
220-* * 
220-* IBM's internal systems must only be used for conducting IBM's * 
220-* business or for purposes authorized by IBM management. * 
220-* * 
220-* Use is subject to audit at any time by IBM management. * 
220-* * 
220-******************************************************************************* 
220- 
220 service FTP server (Version wu-2.6.2(5) Custom Sat May 28 01:48:31 MDT 2005) ready. 
Name (ftp.software.ibm.com:root): anonymous 
331 Guest login ok, send any password. 
Password: 
230 Guest login ok, access restrictions apply. 
ftp> cd /storage/devdrvr/AIX 
250-Please read the file README 
250- it was last modified on Mon Oct 8 17:36:52 2007 - 520 days ago 
250 CWD command successful. 
ftp> ls 
200 PORT command successful. 
150 Opening ASCII mode data connection for file list. 
Atape.10.7.3.0.bin 
Atape.11.3.4.0.bin 
Atape.8.4.9.0.bin 
Atape.9.7.5.0.bin 
Atape.README 
Atape.fixlist 
README 
atldd.5.5.1.0.bin 
atldd.6.7.7.0.bin 
atldd.Readme 
atldd.fixlist 
226 Transfer complete. 
ftp> bin 
200 Type set to I. 
ftp> mget Atape.11.3.4.0.bin 
mget Atape.11.3.4.0.bin? y 
200 PORT command successful. 
150 Opening BINARY mode data connection for Atape.11.3.4.0.bin (5376000 bytes). 
226 Transfer complete. 
5376000 bytes received in 1.261 seconds (4165 Kbytes/s) 
local: Atape.11.3.4.0.bin remote: Atape.11.3.4.0.bin 

安装过程

  在安装新版本的设备驱动之前,建议先卸载老版本的驱动,并保证磁带设备已经上电、功能正常并已经正确连接到 AIX 系统上。

  可以使用命令 :

  installp –acXd Atape.x.x.x.x Atape.driver

下面来安装我们下载的 Atape.11.3.4.0.bin:
# installp -acXd Atape.11.3.4.0.bin Atape.driver 
+-----------------------------------------------------------------------------+ 
 Pre-installation Verification... 
+-----------------------------------------------------------------------------+ 
Verifying selections...done 
Verifying requisites...done 
Results... 
SUCCESSES 
--------- 
 Filesets listed in this section passed pre-installation verification 
 and will be installed. 
 Selected Filesets 
 ----------------- 
 Atape.driver 11.3.4.0 # IBM AIX Enhanced Tape and Me... 
 << End of Success Section >> 
+-----------------------------------------------------------------------------+ 
 BUILDDATE Verification ... 
+-----------------------------------------------------------------------------+ 
Verifying build dates...done 
FILESET STATISTICS 
------------------ 
 1 Selected to be installed, of which: 
 1 Passed pre-installation verification 
 ---- 
 1 Total to be installed 
0503-409 installp: bosboot verification starting... 
installp: bosboot verification completed. 
+-----------------------------------------------------------------------------+ 
 Installing Software... 
+-----------------------------------------------------------------------------+ 
installp: APPLYING software for: 
 Atape.driver 11.3.4.0 
. . . . . << Copyright notice for Atape >> . . . . . . . 
 IBM AIX Enhanced Tape and Medium Changer Device Driver 
 (C) COPYRIGHT International Business Machines Corp. 1993 2005 
 All Rights Reserved 
 Licensed Materials - Property of IBM 
 US Government Users Restricted Rights - Use, duplication or 
 disclosure restricted by GSA ADP Schedule Contract with IBM Corp. 
. . . . . << End of copyright notice for Atape >>. . . . 
Checking for existing Atape devices... 
Installing AIX Version 6.1 Atape.driver... 
Adding device prototype... 
Adding odm and smit entries... 
Adding catalogs... 
Adding trace template... 
Adding error template... 
6 entries added. 
0 entries deleted. 
0 entries updated. 
Adding utility programs... 
Finished processing all filesets. (Total time: 11 secs). 
0503-409 installp: bosboot verification starting... 
installp: bosboot verification completed. 
0503-408 installp: bosboot process starting... 
bosboot: Boot image is 36475 512 byte blocks. 
0503-292 This update will not fully take effect until after a 
 system reboot. 
 * * * A T T E N T I O N * * * 
 System boot image has been updated. You should reboot the 
 system as soon as possible to properly integrate the changes 
 and to avoid disruption of current functionality. 
installp: bosboot process completed. 
+-----------------------------------------------------------------------------+ 
 Summaries: 
+-----------------------------------------------------------------------------+ 
Installation Summary 
-------------------- 
Name Level Part Event Result 
------------------------------------------------------------------------------- 
Atape.driver 11.3.4.0 USR APPLY SUCCESS 

如上例所示,如果 Installation Summary 给出的结果是 SUCCESS, Atape 驱动已经正确安装到系统中了。
当然,也可以使用 smit 来安装:
#smitty 
-> Software Installation and Maintenance 
 -> Install and Update Software 
 -> Install Software 
 -> * INPUT device / directory for software 输入安装包位置 

如下例:
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 [Atape > + 
 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 + 

需要注意的是,PREVIEW only 一项需要置成 no,这样驱动才真正会被安装到系统中。

  选择确认后,回车完成安装过程。

23,125

社区成员

发帖
与我相关
我的任务
社区描述
Linux/Unix社区 应用程序开发区
社区管理员
  • 应用程序开发区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧