Please provide the listener.ora and tnsnames.ora files from your
$ORACLE_HOME/network/admin directory.
- V
% sqlplus sde/redacted@o11gR2a SQL*Plus: Release 11.2.0.2.0 Production on Fri Dec 14 16:42:37 2012 Copyright (c) 1982, 2010, Oracle. All rights reserved. Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production With the Partitioning, OLAP, Data Mining and Real Application Testing options SQL> select st_point(0,0,0) from dual; ST_POINT(0,0,0)(ENTITY, NUMPTS, MINX, MINY, MAXX, MAXY, MINZ, MAXZ, MINM, MAXM, -------------------------------------------------------------------------------- ST_POINT(1, 1, 0, 0, 0, 0, NULL, NULL, NULL, NULL, 0, 0, 0, '0C00000001000000808 0DD9DA4178080DD9DA417')
# TNSNAMES.ORA Network Configuration File: /app_root/network/admin/tnsnames.ora # Generated by Oracle configuration tools. EXTPROC_CONNECTION_DATA = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC)) ) (CONNECT_DATA = (SID = PLSExtProc) (PRESENTATION = RO) ) ) o11g = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = archeo)(PORT = 1521)) ) (CONNECT_DATA = (SID = o11g) ) )
# LISTENER.ORA Network Configuration File: /app_root/network/admin/listener.ora # Generated by Oracle configuration tools. LISTENER = (DESCRIPTION_LIST = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC)) ) (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = archeo)(PORT = 1521)) ) ) ) SID_LIST_LISTENER = (SID_LIST = (SID_DESC = (SID_NAME = PLSExtProc) (ORACLE_HOME = /u01/app/oracle/product/11.2.0/dbhome_1) (PROGRAM = extproc) (ENVS = "EXTPROC_DLLS=/var/opt/esrilibs/libst_shapelib.so,LD_LIBRARY_PATH=/var/opt/esrilibs") ) (SID_DESC = (GLOBAL_DBNAME = o11g.iaa.local) (ORACLE_HOME = /u01/app/oracle/product/11.2.0/dbhome_1) (SID_NAME = o11g) ) ) ) SUBSCRIBE_FOR_NODE_DOWN_EVENT_LISTENER=OFF INBOUND_CONNECT_TIMEOUT_LISTENER=500
SET EXTPROC_DLLS=ONLY:/var/opt/esrilibs/libst_shapelib.so SET LD_LIBRARY_PATH=/var/opt/esrilibs:/u01/app/oracle/product/11.2.0/dbhome_1/lib
SELECT * FROM USER_LIBRARIES
LIBRARY_NAME FILE_SPEC DYNAMIC STATUS ------------------------------ --------------------------------------------------------------------- ST_SHAPELIB /var/opt/esrilibs/libst_shapelib.so Y VALID
select st_point(0,0,0) from dual
SQL*Plus: Release 11.2.0.3.0 Production on Fri Dec 15 05:55:23 2012 Copyright (c) 1982, 2011, Oracle. All rights reserved. Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production With the Partitioning, OLAP, Data Mining and Real Application Testing options SQL> select st_point(0,0,0) from dual; select st_point(0,0,0) from dual * ERROR at line 1: ORA-06520: PL/SQL: Error loading external library ORA-06522: ld.so.1: extproc: fatal: libclntsh.so.10.1: open failed: No such file or directory ORA-06512: "SDE.ST_GEOMETRY_SHAPELIB_PKG", line 12 ORA-06512: "SDE.ST_POINT", line 176