ORACLE在HP-UX下的系列問題處理(41)
2024-08-29 13:40:02
供稿:網友
 
             
  reports25.mk失敗: /usr/CSS/bin/ld: 找不到-lXm 的庫問題描述
  
  我嘗試安裝Oracle7-for-OpenView V7.2.3,在安裝手冊的第22頁上說:為了“Reports2.5的文件”,運行下列命令: 
  
     $ cd $ORACLE_HOME/reports25/lib
                                                                                                 $ make -f reports25.mk cinstall minstall      MOTIFLIBHOME=/usr/lib/Motif1.2 XLIBHOME=/usr/lib/X11R5
  
  這些命令失敗,顯示下面的錯誤: 
  
     /usr/css/bin/ld: can't find library for -lXm
  
  如何解決這個問題?
  
  配置信息
  
  操作系統 - HP-UX
  版本 -10.20
  硬件系統 - HP 9000
  系列 -867
  
  解決方法
  
  這個錯誤表示你需要在/usr/lib/X11R5和/usr/lib/Motif1.2目錄中創建幾個鏈接。請以超級用戶的身份執行下列命令: 
  
     ln -s /usr/lib/X11R5/libX11.1 /usr/lib/X11R5/libX11.sl
     ln -s /usr/lib/X11R5/libXt.1 /usr/lib/X11R5/libXt.sl
     ln -s /usr/lib/Motif1.2/libXm.1 /usr/lib/Motif1.2/libXm1.sl
     ln -s /usr/lib/Motif1.2/libXvh.1 /usr/lib/Motif1.2/libXvh.sl
  
  現在重新運行命令,“make”應當能夠成功完成。
  
  其它要害字
  
  Oracle Reports2.5
  Oracle-for-Openview
  OfO Oracle7.2.3
  ld -lXm
  .........following with all English text ....     
  PRoblem Description
  
  I am trying to install Oracle7-for-OpenView V7.2.3 and on page 22 of the installation manual it says in order to "relink the files
  for Reports2.5" to run the following commands:
  
     $ cd $ORACLE_HOME/reports25/lib
     $ make -f reports25.mk cinstall minstall      MOTIFLIBHOME=/usr/lib/Motif1.2 XLIBHOME=/usr/lib/X11R5
  
  This fails with the following error:
  
     /usr/css/bin/ld: can't find library for -lXm
  
  What do I need to do?
  
  Configuration Info
  
  Operating System - HP-UX
  Version -10.20
  Hardware System - HP 9000
  Series -867
  
  Solution
  
  This error means that you need to create a few links in the /usr/lib/X11R5 and /usr/lib/Motif1.2 Directories.  As root please
  execute the following commands:
  
     ln -s /usr/lib/X11R5/libX11.1 /usr/lib/X11R5/libX11.sl
     ln -s /usr/lib/X11R5/libXt.1 /usr/lib/X11R5/libXt.sl
     ln -s /usr/lib/Motif1.2/libXm.1 /usr/lib/Motif1.2/libXm1.sl
     ln -s /usr/lib/Motif1.2/libXvh.1 /usr/lib/Motif1.2/libXvh.sl
  
  Now rerun the commands and the 'make' should complete s                          target="_blank" title="UC  下載" >UCcessfully.
  
  Alternative KeyWords
  
  Oracle Reports2.5
  Oracle-for-Openview
  OfO Oracle7.2.3
  ld -lXm