Error loading native Library: libnjni9.so. Solution

Source: Internet
Author: User
Error loading native Library: libnjni9.so. Solution $ netca
Error loading native Library: libnjni9.so.
Java. Lang. unsatisfiedlinkerror: jnigetoraclehome
At oracle.net. Common. netgetenv. getoraclehome (netgetenv. Java)
At oracle.net. Ca. cmdlineargs. setoraargs (cmdlineargs. Java)
At oracle.net. Ca. netca. <init> (netca. Java)
At oracle.net. Ca. netca. Main (netca. Java)

Cause:
LD_LIBRARY_PATH is mainly used to set environment variables. By default, LD_LIBRARY_PATH searches 64-bit paths, while someProgramThe name is the same under 32-bit and 64-bit.
This search path will report the above error,

Solution:

Method 1. Set LIBRARY_PATH = $ ORACLE_HOME/lib32: $ LD_LIBRARY_PATH.

Method 2.

You can also modify libnjni9.so In the lib directory. The file name is another name.

Method 3.

If none of the above solutions are available, modify asynchronous Io.
1. First, use lsdev-cc aio to check that the status is available. If the following command is not executed
Mkdev-l aio0
2. Change Smitty AIO to the system startup mode, which is available.
Or use the command line to modify
Chdev-l aio0-p-A AutoConfig = 'available'

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.