安裝GoldenGate 報找不到Libnnz10.so 檔案

來源:互聯網
上載者:User

錯誤現象:

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

問題分析:

很明顯是因為在執行./ggsci檔案的時候需要庫檔案libnnz10.so的支援,沒有找到故報如上錯誤。那麼首先就應該想到庫檔案存放在哪個位置,檢查LD_LIBRARY_PATH環境變數是否配置正確。

解決步驟:

1、查看LD_LIBRARY_PATH環境變數配置是否正確:

[ogg@prudentwoo ~]$ echo $LD_LIBRARY_PATH  ---我們可以看到這裡是沒有問題的

/DBSOFT/produce/11.2.0/db_1/lib

 

2、查看libnnz10.so檔案是否存在:

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

[ogg@prudentwoo lib]$ ll libnnz1*

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

-rw-r--r-- 1 oracleoinstall 6986848 Aug  2  2009 libnnz11.so  --在這裡可以看到這個檔案

[ogg@prudentwoo lib]$

 

因為我安裝的是Oracle 11g 故是 libnnz11.so,而GoldenGate 是10g的版本,所以他尋找的是libnnz10.so檔案,那麼既然這樣就很簡單了,我們只需在原路徑下建立一個捷徑即可。

 

3、建立libnnz11.so的捷徑至libnnz10.so

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

[oracle@prudentwoo lib]$

 

4、建立完捷徑,問題解決:

[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 201013:24:18

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

 

GGSCI (prudentwoo.localdomain) 1>

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.