|
|
|
|
 还是oracle接口的一个问题 - weirise [ 2004-04-28 10:36 | 546 byte(s)]
 Re: 还是oracle接口的一个问题 - weirise [ 2004-04-29 16:50 | 142 byte(s)]
 Re: 还是oracle接口的一个问题 - weirise [ 2004-04-29 16:50 | 142 byte(s)]
 Re: 还是oracle接口的一个问题 - weirise [ 2004-04-29 16:01 | 158 byte(s)]
 Re: 还是oracle接口的一个问题 - weirise [ 2004-04-29 09:40 | 246 byte(s)]
 Re: 还是oracle接口的一个问题 - rings [ 2004-04-29 14:22 | 376 byte(s)]
 Re: 还是oracle接口的一个问题 - rings [ 2004-04-28 17:15 | 131 byte(s)]
 Re: 还是oracle接口的一个问题 - limodou [ 2004-04-28 12:30 | 86 byte(s)]
|
|
|
|
[Original]
[Print]
[Top]
|
还是oracle的一个问题,我把cx_oracle源程序编译完成后,运行时出现下列现象:
>>> import cx_Oracle
/usr/lib/dld.sl: Can't shl_load() a library containing Thread Local Storage: /us
r/lib/libcl.2
/usr/lib/dld.sl: Exec format error
Traceback (most recent call last):
File "<stdin>", line 1, in ?
ImportError: Failed to load cx_Oracle.sl
但是我在目录/usr/lib下却能找到libc1.2
不知是何原因,请大家帮一忙,谢谢,较急!
|
|
|
[Original]
[Print]
[Top]
|
|
[Original]
[Print]
[Top]
|
|
是不是编译完了没有安装呀。执行make install试试。不过看意思好象是说格式有问题,搞不清。
|
|
----
我的Blog(http://limodou.donews.net/limodou)
|
|
[Original]
[Print]
[Top]
|
|
[Original]
[Print]
[Top]
|
|
shl_load应该是hp-unix下加载动态链接库的函数。你应该是在hp-unix下编译的吧。 你的主程序应该加-lpthread, 而对于dld.sl不应该加-lpthread
|
|
[Original]
[Print]
[Top]
|
|
[Original]
[Print]
[Top]
|
没错,是在hp-unix下编译的,你说在主程序下在这个参数是什么意思,是那个主程序,名字叫什么,在那一步编译时用到,请您说详细点,
是不是在makefile里的:LIBS= -lnsl -ldld -lpthread,
如果是的话,这里已经有了呀,
我是新手,谢谢
|
|
|
[Original]
[Print]
[Top]
|
|
[Original]
[Print]
[Top]
|
我还是不明白,是不是把我刚才说的那个makefile文件里的LIBS= -lnsl -ldld -lpthread
改为LIBS= -lc -lpthread,然后再make,make install,不好意思,太麻烦你了
|
|
|
[Original]
[Print]
[Top]
|
|
[Original]
[Print]
[Top]
|
我还是不明白,是不是把我刚才说的那个LIBS= -lnsl -ldld -lpthread
改为LIBS= -lc -lpthread,然后再make,make install,不好意思,太麻烦你了
|
|
|
[Original]
[Print]
[Top]
|
|
[Original]
[Print]
[Top]
|
我还是不明白,是不是把我刚才说的那个LIBS= -lnsl -ldld -lpthread
改为LIBS= -lc -lpthread,然后再make,make install,不好意思,太麻烦你了
|
|
[Original]
[Print]
[Top]
|
|
|