以文本方式查看主题

-  计算机科学论坛  (http://bbs.xml.org.cn/index.asp)
--  『 XML在语音技术中的应用 』   (http://bbs.xml.org.cn/list.asp?boardid=47)
----  [求助]我按照 OpenVXIBuildInstructions来编译release版本,运行出错,望指点  (http://bbs.xml.org.cn/dispbbs.asp?boardid=47&rootid=&id=38265)


--  作者:xiangxie
--  发布时间:9/25/2006 12:05:00 PM

--  [求助]我按照 OpenVXIBuildInstructions来编译release版本,运行出错,望指点
提示错误为:
RunVXI: error while loading shared libraries: libSBjsi.so.3: cannot open shared object file: No such file or directory
找不到libSBjsi.so.3,是不是要设置什么?谢谢指点


我按照这个编译的:
To build OpenVXI 3.4 sources, cd to each component in the order outlined below, and carry out the following commands: gmake all-shared to build, gmake clean to clean. After a successful build, all relevant files will be appropriately copied to the baseline. By default debug libraries are built; specify CFG=release or CFG=debug on the gmake command line to explicitly choose which build type to produce.

To ensure a successful build, the following order must be followed:

VXIinterfaces
swichar
value
trd
log
cache
inet
jsi
VXI
VXIclient


--  作者:zhu_ruixian
--  发布时间:9/25/2006 12:53:00 PM

--  
libSBjsi.so文件找不到。你编译jsi的时候生成的*.so文件叫什么名字? 如果不是libSBjsi.so,假如名称为demo.so,你把demo.so复制一下,然后把名称改为libSBjsi.so。再次运行应该就可以了。
--  作者:xiangxie
--  发布时间:9/25/2006 4:28:00 PM

--  
知道了,原来要把这些lib都要拷贝到/usr/lib下才行!
--  作者:markmhy
--  发布时间:11/17/2006 5:45:00 PM

--  
也可以不用把这些动态链接库拷贝的 /usr/lib下
只要设定环境变量LD_LIBRARY_PATH到相应的动态链接库目录就行啦。

例如:
LD_LIBRARY_PATH=/usr/lib:/lib:/home/mahaoyuan/voiceXML/openvxi-3.4/lib:/home/mahaoyuan/voiceXML/js/src/Linux_All_DBG.OBJ:/home/mahaoyuan/voiceXML/xerces-c-src_2_7_0/lib

msn:    mahaoyuan@msn.com


W 3 C h i n a ( since 2003 ) 旗 下 站 点
苏ICP备05006046号《全国人大常委会关于维护互联网安全的决定》《计算机信息网络国际联网安全保护管理办法》
46.875ms