When GoldenGate is installed, the Libnnz10.so file cannot be found.

Source: Internet
Author: User

Error:

./Ggsci: error whileloading shared libraries: libnnz10.so: cannot open shared object file: No suchfile or directory.

Problem Analysis:

Obviously, the above error is reported because libnnz10.so of the library file is required when the./ggsci file is executed. First, check whether the LD_LIBRARY_PATH environment variable is correctly configured.

Solution:

1. Check whether the LD_LIBRARY_PATH environment variable is correctly configured:

[Ogg @ prudentwoo ~] $ Echo $ LD_LIBRARY_PATH --- we can see that there is no problem here

/DBSOFT/produce/11.2.0/db_1/lib

 

2. Check whether the libnnz10.so file exists:

[Ogg @ prudentwoo ogg] $ cd $ Oracle_HOME/lib

[Ogg @ prudentwoo lib] $ ll libnnz1 *

-Rw-r -- 1 oracle oinstall 9020808Aug 2 2009 libnnz11.a

-Rw-r -- 1 oracleoinstall 6986848 Aug 2 2009 libnnz11.so -- you can see this file here

[Ogg @ prudentwoo lib] $

 

Since I installed Oracle 11g, it was libnnz11.so, and GoldenGate was 10g, so he looked for the libnnz10.so file, so now it's easy, you only need to create a shortcut in the original path.

 

3. Create a shortcut for libnnz11.so to libnnz10.so

[Oracle @ prudentwoo lib] $ ln-s libnnz11.solibnnz10. so

[Oracle @ prudentwoo lib] $

 

4. Solve the problem after creating a shortcut:

[Ogg @ prudentwoo ogg] $./ggsci

 

Oracle GoldenGate Command Interpreter for Oracle

Version 11.1.1.0.0 Build 078

Linux, x86, 32bit (optimized), Oracle 10 on Jul 28 2010:24:18

Copyright (C) 1995,201 0, Oracle and/or its affiliates. Allrights reserved.

 

GGSCI (prudentwoo. localdomain) 1>

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.