简体   繁体   English

无法在@INC 中找到模块 DBD::Oracle 的可加载对象:Cygwin

[英]Can't locate loadable object for module DBD::Oracle in @INC : Cygwin

I am using cygwin on windows to compile perl modules.我在 Windows 上使用 cygwin 来编译 perl 模块。 I was able to install perl DBI through cpan later I installed DBD , it aslo said successfully installed.我能够通过 cpan 安装 perl DBI 后来我安装了 DBD ,它也说安装成功。

cpan[1]> install DBD::Oracle Going to read '/home/e1sched/.cpan/Metadata' Database was generated on Wed, 24 Apr 2013 12:08:01 GMT DBD::Oracle is up to date (1.60). cpan[1]> install DBD::Oracle Going to read '/home/e1sched/.cpan/Metadata' 数据库生成于 2013 年 4 月 24 日星期三 12:08:01 GMT DBD::Oracle 是最新的 (1.60) .

Now when i execute my script, i am getting this error below.现在当我执行我的脚本时,我在下面收到这个错误。

$ ./invpayhistload.sh 5 50000 Thu, Apr 25, 2013 5:53:31 AM Begin batch process PPID 7580 install_driver(Oracle) failed: Can't locate loadable object for module DBD::Oracle in @INC (@INC contains: /usr/lib/perl5/site_perl/5.14/i686-cygwin-threads-64int /usr/lib/perl5/site_perl/5.14 /usr/lib/perl5/vendor_perl/5.14/i686-cygwin-threads-64int /usr/lib/perl5/vendor_perl/5.14 /usr/lib/perl5/5.14/i686-cygwin-threads-64int /usr/lib/perl5/5.14 /usr/lib/perl5/site_perl/5.10 /usr/lib/perl5/vendor_perl/5.10 /usr/lib/perl5/site_perl/5.8 .) at (eval 3) line 3 Compilation failed in require at (eval 3) line 3. Perhaps a module that DBD::Oracle requires hasn't been fully installed at /usr/local/batch/bin/invpayhistload.pl line 33 $ ./invpayhistload.sh 5 50000 Thu, Apr 25, 2013 5:53:31 AM 开始批处理 PPID 7580 install_driver(Oracle) failed: Can't locate loadable object for module DBD::Oracle in @INC (@INC contains : /usr/lib/perl5/site_perl/5.14/i686-cygwin-threads-64int /usr/lib/perl5/site_perl/5.14 /usr/lib/perl5/vendor_perl/5.14/i686-cygwin-threads-64int /usr/ lib/perl5/vendor_perl/5.14 /usr/lib/perl5/5.14/i686-cygwin-threads-64int /usr/lib/perl5/5.14 /usr/lib/perl5/site_perl/5.10 /usr/lib/perl5/vendor_perl/ 5.10 /usr/lib/perl5/site_perl/5.8 .) at (eval 3) line 3 Compilation failed in require at (eval 3) line 3. 也许 DBD::Oracle 需要的模块尚未完全安装在 /usr /local/batch/bin/invpayhistload.pl 第 33 行

DBD::Oracle seems to have not installed properly. DBD::Oracle 似乎没有正确安装。 I tried many times but the result is same.我尝试了很多次,但结果是一样的。 Is there a problem with finding the path?找路有问题吗? what is this @INC ?这是什么@INC Appreciate your reply.感谢您的回复。

I doubt that DBD::Oracle is installed properly.我怀疑DBD::Oracle是否正确安装。 It's notoriously difficult to get is to work.众所周知,很难得到就是工作。 Basically, you need:基本上,您需要:

  1. install a working(!), properly configured oracle client安装一个工作(!),正确配置的 oracle 客户端
  2. prepare your environment so you can use the oracle client (especially things like LD_LIBRARY_PATH need to be set right)准备您的环境,以便您可以使用 oracle 客户端(尤其是LD_LIBRARY_PATH东西需要设置正确)
  3. fetch the latest DBD::Oracle and run perl Makefile.PL; make获取最新的DBD::Oracle并运行perl Makefile.PL; make perl Makefile.PL; make by hand perl Makefile.PL; make手工
  4. hope...希望...

see eg this question for more information...有关更多信息,请参见例如此问题...

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 找不到DBD / Oracle.pm - Can't locate DBD/Oracle.pm Perl install_driver(Oracle)失败:-无法为模块DBD :: Oracle Win64加载'../DBD/Oracle/Oracle.dll' - Perl install_driver(Oracle) failed: - Can't load '../DBD/Oracle/Oracle.dll' for module DBD::Oracle Win64 DBI->连接失败(install_driver(Oracle)失败:找不到DBD / Oracle.pm) - DBI->Connect failed(install_driver(Oracle) failed: Can't locate DBD/Oracle.pm) install_driver(Oracle) 失败:无法为 DBD::Oracle 模块加载“/usr/local/lib/perl5/auto/DBD/Oracle/Oracle.so”:libocci.so.11.1 - install_driver(Oracle) failed: Can't load '/usr/local/lib/perl5/auto/DBD/Oracle/Oracle.so' for module DBD::Oracle: libocci.so.11.1 需要帮助在Cygwin上安装DBD :: Oracle - Need help to install DBD::Oracle on Cygwin Perl DBD::Oracle 模块安装 - Perl DBD::Oracle Module installation 为什么我的Perl CGI脚本找不到Oracle DBD? - Why can't my Perl CGI script find the Oracle DBD? 无法为模块 DBD::Oracle 加载 Oracle.dll:load_file:%1 不是位于 C:/Perl64/lib/DynaLoader.pm 第 201 行的有效 Win32 应用程序 - Can't load Oracle.dll for module DBD::Oracle: load_file:%1 is not a valid Win32 application at C:/Perl64/lib/DynaLoader.pm line 201 Ubuntu上的Apache 2.4:“无法加载驱动程序文件apr_dbd_oracle.so” - Apache 2.4 on Ubuntu: “Can't load driver file apr_dbd_oracle.so” DBD :: Oracle:load_file:找不到指定的模块 - DBD::Oracle: load_file:The specified module could not be found
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM