免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12
最近访问板块 发新帖
楼主: majia_520
打印 上一主题 下一主题

我怎么这么倒霉???????没有最妖,只有更妖。 [复制链接]

论坛徽章:
1
2015年辞旧岁徽章
日期:2015-03-03 16:54:15
11 [报告]
发表于 2011-07-28 13:56 |只看该作者
什么错?

论坛徽章:
0
12 [报告]
发表于 2011-07-28 14:09 |只看该作者
是你?

论坛徽章:
0
13 [报告]
发表于 2011-07-28 15:55 |只看该作者
本帖最后由 majia_520 于 2011-07-28 16:00 编辑

回复 11# flw


    CPAN Terminal> i DBD::Oracle

[MSG] No '/root/.cpanplus/custom-sources' dir, skipping custom sources
[MSG] No '/root/.cpanplus/custom-sources' dir, skipping custom sources
[MSG] No '/root/.cpanplus/custom-sources' dir, skipping custom sources
Installing DBD::Oracle (1.28)
Running [/usr/bin/perl /usr/bin/cpanp-run-perl /root/.cpanplus/5.8.8/build/DBD-Oracle-1.28/Makefile.PL]...
Using DBI 1.616 (for perl 5.008008 on x86_64-linux-thread-multi) installed in /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/DBI/

Configuring DBD::Oracle for perl 5.008008 on linux (x86_64-linux-thread-multi)

Remember to actually *READ* the README file! Especially if you have any problems.

Installing on a linux, Ver#2.6
Using Oracle in /home/oracle
Multiple copies of Driver.xst found in: /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/DBI/ /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/auto/DBI/ at /root/.cpanplus/5.8.8/build/DBD-Oracle-1.28/Makefile.PL line 37
SP2-1503: Unable to initialize Oracle call interface
SP2-0152: ORACLE may not be functioning properly

            If sqlplus failed due to a linker/symbol/relocation/library error or similar problem
            then it's likely that you've not configured your environment correctly.
            Specifically, your LD_LIBRARY_PATH environment variable
            set to include the directory containing the Oracle libraries.
            
I'm having trouble finding your Oracle version number... trying harder

WARNING: I could not determine Oracle client version so I'll just
default to version 8.0.0.0. Some features of DBD::Oracle may not work.
Oracle version based logic in Makefile.PL may produce erroneous results.
You can use "perl Makefile.PL -V X.Y.Z" to specify a your client version.

Oracle version 8.0.0.0 (8.0)
DBD::Oracle no longer supports Oracle client versions before 9.2
Try a version before 1.25 for 9 and 1.18 for 8! at /root/.cpanplus/5.8.8/build/DBD-Oracle-1.28/Makefile.PL line 175.

BEGIN failed--compilation aborted at /usr/bin/cpanp-run-perl line 8.
[ERROR] Could not run '/usr/bin/perl Makefile.PL': Using DBI 1.616 (for perl 5.008008 on x86_64-linux-thread-multi) installed in /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/DBI/

Configuring DBD::Oracle for perl 5.008008 on linux (x86_64-linux-thread-multi)

Remember to actually *READ* the README file! Especially if you have any problems.

Installing on a linux, Ver#2.6
Using Oracle in /home/oracle
Multiple copies of Driver.xst found in: /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/DBI/ /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/auto/DBI/ at /root/.cpanplus/5.8.8/build/DBD-Oracle-1.28/Makefile.PL line 37
SP2-1503: Unable to initialize Oracle call interface
SP2-0152: ORACLE may not be functioning properly

            If sqlplus failed due to a linker/symbol/relocation/library error or similar problem
            then it's likely that you've not configured your environment correctly.
            Specifically, your LD_LIBRARY_PATH environment variable
            set to include the directory containing the Oracle libraries.
            
I'm having trouble finding your Oracle version number... trying harder

WARNING: I could not determine Oracle client version so I'll just
default to version 8.0.0.0. Some features of DBD::Oracle may not work.
Oracle version based logic in Makefile.PL may produce erroneous results.
You can use "perl Makefile.PL -V X.Y.Z" to specify a your client version.

Oracle version 8.0.0.0 (8.0)
DBD::Oracle no longer supports Oracle client versions before 9.2
Try a version before 1.25 for 9 and 1.18 for 8! at /root/.cpanplus/5.8.8/build/DBD-Oracle-1.28/Makefile.PL line 175.
BEGIN failed--compilation aborted at /usr/bin/cpanp-run-perl line 8.
-- cannot continue

[ERROR] Unable to create a new distribution object for 'DBD::Oracle' -- cannot continue

*** Install log written to:
  /root/.cpanplus/install-logs/DBD-Oracle-1.28-1311839802.log

Error installing 'DBD::Oracle'
Problem installing one or more modules
*** You can view the complete error buffer by pressing 'p' ***

CPAN Terminal>

论坛徽章:
0
14 [报告]
发表于 2011-07-28 15:59 |只看该作者
本帖最后由 majia_520 于 2011-07-28 16:04 编辑

Oracle version 8.0.0.0 (8.0)
DBD::Oracle no longer supports Oracle client versions before 9.2

鲜血吐了一地啊,我本来装好了Oracle Full Client,装DBD::Oracle时提示出错。

看到网上都装InstantClient的,于是把FullClient卸载掉,重新装了InstantClient,结果竟然说是Oracle版本是8? 我明明装instant client时用的是11.。。。。

[root@ftpsvr tmp]# pwd
/tmp
[root@ftpsvr tmp]# ll oracle*
-rw-r--r-- 1 root root 58296106 Jul 27 08:31 oracle-instantclient11.2-basic-11.2.0.2.0.x86_64.rpm
-rw-r--r-- 1 root root   608014 Jul 27 08:31 oracle-instantclient11.2-devel-11.2.0.2.0.x86_64.rpm
-rw-r--r-- 1 root root   831327 Jul 28 09:56 oracle-instantclient11.2-sqlplus-11.2.0.2.0.x86_64.rpm
[root@ftpsvr tmp]#

论坛徽章:
0
15 [报告]
发表于 2011-07-28 16:16 |只看该作者
回复 12# 2gua


   
呱哥,帮我看看啊。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP