Perl: Conflicts between Oracle 10 GB and Perl environment installation and Solutions

Source: Internet
Author: User
Tags glob perl interpreter perl script

After the installation of active perl5.10 is downloaded from the official website, a simple Perl script is written. Only one file copy module is referenced and the perl interpreter is called to run the script.ProgramWhen a bunch of errors are reported, first a pop-up box prompts 'unable to start this program, the computer lost perl58.dll ', click OK to report the error message: Can't load 'd: \ oracle \ product \ 10.2.0 \ db_1 \ Perl \ 5.8.3 \ Lib/MSWin32-x86-multi-threa D/auto/file/glob. dll 'for module File: Glob: load_file: the specified module cannot be found. A t d: \ oracle \ product \ 10.2.0 \ db_1 \ Perl \ 5.8.3 \ Lib/MSWin32-x86-multi-thread/xsloader. PM line 68.

From the above information, it should be obvious that Oracle installed earlier conflicts with the newly installed Perl, and the conflict is caused by Oracle adding an environment variable of perl5lib to our system during installation, the environment variable points to the incomplete Perl of the module in the Oracle installation directory. The prompt shows that it is the Oracle Home/perl directory.

Knowing the cause of the error, there will be more methods to change:

1. A kind of friends who often deal with Oracle and occasionally play Perl:

If so, we recommend that you do not start the environment variable perl5lib. Before running the Perl Command, set the temporary perl5lib variable in the current command line window. For example, if perl10 is installed in the root directory of the G drive, run the command set perl5lib = "G: \ Perl \ bin \" after cmd to change the point of the Environment Variable perl5lib, the command scope is session-level, that is, it must be set again after CMD is re-opened.

2. opposite to the above:

You can back up the per5llib content first, and then clear perl5lib or set it to G: \ Perl \ Lib, that is, OK.

3. Both of them often deal:

Add G: \ Perl \ bin to perl5lib. Note that it is not a replacement.

4. The two are not very interesting:

The author remains silent ~

This article is complete ~

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.