Use of ODU on Linux and Unix platforms

Source: Internet
Author: User
The ODUforLinux (Unix) version downloaded from the ODU web page is generally a file named after odu _ version _ operating system _ platform targz. After uploading to your machine, use gunzip

The ODU for Linux (unix), which is downloaded from the ODU webpage, is generally a file named after “odu_ _operating system _platform .tar.gz. Upload it to your machine, decompress it using gunzip and tar, and perform a little configuration. The following is an example of how to use it on Linux.

Operating system: Redhat Linux AS 5.0

Upload odu_210_linux_x86.tar.gz to the home directory of the oracle User. here it is/export/home/oracle. enter the command tar xzvf odu_210_linux_x86.tar.gz to uncompress the package. All the files and directories generated are located in the/export/home/oracle/odu directory.

If you enter the command:./odu at this time, the following error may be reported:

./Odu: error while loading shared libraries: libiconv. so.2: cannot open shared object file: No such file or directory

This is because the required library file is not in the search path. run the following command: export LD_LIBRARY_PATH =/export/home/oracle/odu/lib: $ LD_LIBRARY_PATH. then run the following command :. /odu will run normally.

On the Solaris platform, this environment variable is also LD_LIBRARY_PATH, but in AIX, this environment variable is LIBPATH.

The library files or different versions contained in the odu package may already exist in the system. To avoid problems caused by different database versions, you can place the lib directory of odu in front of the environment variable when setting the environment variable.

To avoid repeated LD_LIBRARY_PATH and LIBPATH environment variables, you can add the settings of this environment variable to the user's profile file.

UPDATE:

From version 3.0.7, environment variables are no longer required for each version because the program uses static links.
Related Article

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.