免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1910 | 回复: 1
打印 上一主题 下一主题

多线程perl下安装DBD::Oracle包DBD-Oracle-1.21的问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-05-21 15:55 |只看该作者 |倒序浏览
已安装多线程perl5.8.8,下载和安装了DBI-1.604,然后下载DBD-Oracle-1.21,安装时运行perl Makefile.PL时,提示下面的错误:
WARNING: Oracle is built with multi-threading libraries
         You will most likely need to rebuild perl from sources
         with the following libraries: -lcl -lpthread
WARNING: Stripped `cat /database/ORACLE/u01/app/oracle/product/9.0.2/lib32/sysliblist`
         from link command, because it contains libraries not
         compiled with +z or +Z (PIC) causing link to fail.
         Furthermore, we should have already grabbed these libraries


似乎DBD::Oracle只能安装在非多线程版本的perl下,并且用-lcl -lpthread做参数安装perl.
请大侠们指点一下,多线程perl和DBD::Oracle难道不兼容的???

论坛徽章:
0
2 [报告]
发表于 2008-05-21 17:24 |只看该作者
米有人回答呀.
多线程版本perl如下:perl -V
...
usethreads=define use5005threads=undef useithreads=define usemultiplicity=define
...

我查看了文件README.hpux.txt
有下面的说明:
Note that is important to build a B<non>-threaded Perl, but linked with
-lcl and -lpthread.   Since Oracle on HP uses libpthread, everything that
dynamically loads it (such as DBD-Oracle) must be built/linked
with '-lpthread -lcl'.  (When used with Apache, it and any associated
modules must also be built this way - otherwise all it does is core
dump when loading DBD::Oracle).


是不是表示多线程perl不能装DBD::Oracle

惨了.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP