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 successfully.
Alternative Keywords
Oracle Reports2.5
Oracle-for-Openview
OfO Oracle7.2.3
ld -lXm