ORA-06520: PL/SQL: 加載外部庫時出錯 ORA-06522: Unable to load DLL ORA-06512: 在"SDE.ST_GEOMETRY_SHAPELIB_PKG", line 12 ORA-06512: 在 "SDE.ST_POINTFROMTEXT", line 58


1、進入將arcgis安裝目錄:

  C:\Program Files (x86)\ArcGIS\Desktop10.1\DatabaseSupport\Oracle\Windows64\st_shapelib.dll

2、將上述dll 復制到oracle home與bin中:

  我的路徑:

    D:\app\Administrator\product\11.2.0\dbhome_1

    D:\app\Administrator\product\11.2.0\dbhome_1\BIN

3、進入sql執行工具,使用sde用戶:

  使用sql語句,來檢查st_shapelib.dll的位置配置

    select * from user_libraries;

4、如果步驟3中查詢沒有記錄或記錄位置不正確,使用sql語句添加或修改:

  eg:create or replace library ST_SHAPELIB as ''

  實際語句:create or replace library ST_SHAPELIB as 'D:\app\Administrator\product\11.2.0\dbhome_1\BIN\st_shapelib.dll'

5、使用sql驗證是否配置成功:

  select sde.st_astext(sde.st_point(103.806709, 30.660408,4326)) from dual

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM