<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: ST_GEOMETRY problem in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/st-geometry-problem/m-p/513092#M29107</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gabit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go to the ArcGIS install folder &amp;gt; database support. Copy the appropriate files from Oracle &amp;gt; Linux64&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/115030_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Paste it in the library of the Oracle installed in Linux. Restart the Oracle services.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Jul 2015 07:47:54 GMT</pubDate>
    <dc:creator>JayantaPoddar</dc:creator>
    <dc:date>2015-07-02T07:47:54Z</dc:date>
    <item>
      <title>ST_GEOMETRY problem</title>
      <link>https://community.esri.com/t5/data-management-questions/st-geometry-problem/m-p/513091#M29106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;H1 style="font-size: 26px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;" id="toc-hId-1927995282"&gt;&lt;SPAN style="font-size: 10pt;"&gt;Hi guys,&lt;/SPAN&gt;&lt;/H1&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get following error when try to select from gdb_items_vw:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;select * from gdb_items_vw;
ERROR:
ORA-28595: Extproc agent : Invalid DLL Path
ORA-06512: at "SDE.ST_GEOMETRY_SHAPELIB_PKG", line 1339
ORA-06512: at "SDE.ST_GEOM_UTIL", line 760

select st_point(0,0,0) from dual
ERROR at line 1:
ORA-28595: Extproc agent : Invalid DLL Path
ORA-06512: at "SDE.ST_GEOMETRY_SHAPELIB_PKG", line 12
ORA-06512: at "SDE.ST_POINT", line 176&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have Oracle Database 11.2.0.3 installed at RHEL and ArcSDE 10SP5 at Windows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After some reading get confused how should I point to correct user library, the current shows this:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="font-size: 9pt; line-height: 12pt;"&gt;SELECT * FROM USER_LIBRARIES;&lt;/SPAN&gt;
&lt;SPAN style="font-size: 9pt; line-height: 12pt;"&gt;LIBRARY_NAME&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FILE_SPEC&amp;nbsp; D STATUS&lt;/SPAN&gt;
&lt;SPAN style="font-size: 9pt; line-height: 12pt;"&gt;------------------------------ -------------------------------------------------- - -------&lt;/SPAN&gt;
&lt;SPAN style="font-size: 9pt; line-height: 12pt;"&gt;ST_SHAPELIB&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; C:\ArcSDE\ArcSDE\ora11gexe\bin\st_shapelib.dll&amp;nbsp; Y VALID&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Should i download ArcSDE for Linux and extract from it Linux versions of library files and put it at Linux Server where Oracle database is?&lt;/P&gt;&lt;P&gt;OR just update extproc.ora with C:\ArcSDE\ArcSDE\ora11gexe\bin\st_shapelib.dll, because it didn't worked - the same result??? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 22:26:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/st-geometry-problem/m-p/513091#M29106</guid>
      <dc:creator>GabitAlmenbetov</dc:creator>
      <dc:date>2021-12-11T22:26:44Z</dc:date>
    </item>
    <item>
      <title>Re: ST_GEOMETRY problem</title>
      <link>https://community.esri.com/t5/data-management-questions/st-geometry-problem/m-p/513092#M29107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gabit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go to the ArcGIS install folder &amp;gt; database support. Copy the appropriate files from Oracle &amp;gt; Linux64&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/115030_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Paste it in the library of the Oracle installed in Linux. Restart the Oracle services.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2015 07:47:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/st-geometry-problem/m-p/513092#M29107</guid>
      <dc:creator>JayantaPoddar</dc:creator>
      <dc:date>2015-07-02T07:47:54Z</dc:date>
    </item>
    <item>
      <title>Re: ST_GEOMETRY problem</title>
      <link>https://community.esri.com/t5/data-management-questions/st-geometry-problem/m-p/513093#M29108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your situation is a bit more complicated than just following the &lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//002n00000091000000"&gt;10.1/10.2/10.3 installation procedure&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's been a long time since I last installed 10.0 sp5 DLLs in an Oracle instance, but I don't believe the DLLs shipped with ArcGIS Desktop until 10.1, so you'll probably need to find a Linux ArcSDE Server installation binary (the DLLs must match the architecture of the LISTENER binary -- 64 bit Linux, I assume).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Oracle significantly changed ExtProc configuration between when ArcGIS 10 was released and Oracle 11gR2.&amp;nbsp; The new (more secure) procedure may not work correctly with an elderly shapelib binary.&amp;nbsp; There are a number of Knowledge Base documents on Listener configuration.&amp;nbsp; I usually google them with the Oracle error message and "arcgis".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- V&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: Please use a gender-neutral greeting in public forums.&amp;nbsp; There are plenty of non-"guys" who would be available to answer questions if you don't offend them.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2015 15:45:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/st-geometry-problem/m-p/513093#M29108</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2015-07-02T15:45:34Z</dc:date>
    </item>
    <item>
      <title>Re: ST_GEOMETRY problem</title>
      <link>https://community.esri.com/t5/data-management-questions/st-geometry-problem/m-p/513094#M29109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[PS. Thanks Vince Angelo, I didn't mean and don't at all and all times to offend anybody.]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So my solution was from:&lt;BR /&gt;1) &lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//002n0000000q000000" title="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//002n0000000q000000" rel="nofollow noopener noreferrer" target="_blank"&gt;ArcGIS Desktop&lt;/A&gt;&lt;/P&gt;&lt;P&gt;2) &lt;A href="https://community.esri.com/thread/100338" target="_blank"&gt;ST_GEOMETRY&amp;amp;amp;nbsp; problem on Oracle RDBMS 11g R2 11.2.0.3&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, my steps:&lt;/P&gt;&lt;P&gt;1) Downloaded ArcSDE10_UNIX_121100.iso, unpacked and get required files.&lt;/P&gt;&lt;P&gt;2) INSTALLING ORACLE AND ARCSDE ON SEPARATE SERVERS: [6] - Copy the st_shape shared library used by EXTPROC to the Oracle server.&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;[root@host /]# mkdir /arcsdehome
[root@host /]# chown -Rf oracle.oinstall /arcsdehome/
[root@host /]# cp -pr /tmp/sdeexe100/lib/libst_* /arcsdehome/
[root@host /]# ll /arcsdehome/
total 12920
-rw-r--r--. 1 oracle oinstall 7572806 Jul&amp;nbsp; 2 11:23 libst_raster_ora.so
-rw-r--r--. 1 oracle oinstall 5652930 Jul&amp;nbsp; 2 11:23 libst_shapelib.so
[root@host /]# 


[oracle@host ~]$ cat .bash_profile
export SDEHOME=/arcsdehome
export LD_LIBRARY_PATH=$SDEHOME:$ORACLE_HOME/ctx/lib:$ORACLE_HOME/lib:$LD_LIBRARY_PATH
[oracle@host ~]$ echo $SDEHOME


[oracle@host ~]$ . ~/.bash_profile
[oracle@host ~]$ echo $SDEHOME
/arcsdehome
[oracle@host ~]$ &lt;/PRE&gt;&lt;P&gt;3) INSTALLING ORACLE AND ARCSDE ON SEPARATE SERVERS: [7] - Create the Oracle library entries for these ArcSDE libraries with the following SQL command as the ArcSDE administrative user (the sde user).&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;02-JUL-15:SDE()@dbname&amp;gt;column file_spec format a50
02-JUL-15:SDE()@dbname&amp;gt;SELECT * FROM USER_LIBRARIES;
LIBRARY_NAME&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FILE_SPEC&amp;nbsp; D STATUS
------------------------------ -------------------------------------------------- - -------
ST_SHAPELIB&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; C:\ArcSDE\ArcSDE\ora11gexe\bin\st_shapelib.dll&amp;nbsp; Y VALID
1 row selected.
Elapsed: 00:00:00.03
02-JUL-15:SDE()@dbname&amp;gt;
02-JUL-15:SDE()@dbname&amp;gt;CREATE OR REPLACE LIBRARY st_shapelib AS '/arcsdehome/libst_shapelib.so';
&amp;nbsp; 2&amp;nbsp; /
CREATE OR REPLACE LIBRARY st_shapelib AS '/arcsdehome/libst_shapelib.so';
*
ERROR at line 1:
ORA-01031: insufficient privileges

02-JUL-15:SYS(AS SYSDBA)@dbname&amp;gt;grant create library to sde;
Grant succeeded.
02-JUL-15:SDE()@dbname&amp;gt;CREATE OR REPLACE LIBRARY st_shapelib AS '/arcsdehome/libst_shapelib.so';
&amp;nbsp; 2&amp;nbsp; /
Library created.
Elapsed: 00:00:00.15
02-JUL-15:SDE()@dbname&amp;gt;column file_spec format a50
02-JUL-15:SDE()@dbname&amp;gt;SELECT * FROM USER_LIBRARIES;
LIBRARY_NAME&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FILE_SPEC&amp;nbsp; D STATUS
------------------------------ -------------------------------------------------- - -------
ST_SHAPELIB&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /arcsdehome/libst_shapelib.so&amp;nbsp; Y VALID
1 row selected.
Elapsed: 00:00:00.03
02-JUL-15:SDE()@dbname&amp;gt;CREATE OR REPLACE LIBRARY libst_raster AS '/arcsdehome/libst_raster_ora.so'
&amp;nbsp; 2&amp;nbsp; /
Library created.
Elapsed: 00:00:00.07
02-JUL-15:SDE()@dbname&amp;gt;SELECT * FROM USER_LIBRARIES;
LIBRARY_NAME&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FILE_SPEC&amp;nbsp; D STATUS
------------------------------ -------------------------------------------------- - -------
LIBST_RASTER&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /arcsdehome/libst_raster_ora.so&amp;nbsp; Y VALID
ST_SHAPELIB&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /arcsdehome/libst_shapelib.so&amp;nbsp; Y VALID
2 rows selected.
Elapsed: 00:00:00.01
02-JUL-15:SDE()@dbname&amp;gt;&lt;/PRE&gt;&lt;P&gt;4) INSTALLING ORACLE AND ARCSDE ON SEPARATE SERVERS: [8] - Configure the Oracle EXTPROC so it can find the st_shapelib and libst_raster_ora libraries. &lt;/P&gt;&lt;P&gt;[8.a] - Add the following entry in the tnsnames.ora on the remote database server: Actually I have added per official documentation but then removed per forum note(links are above).&lt;/P&gt;&lt;P&gt;[8.b] - Add the following entry to the SID_LIST in listener.ora on the remote database server:Actually I have added per official documentation but then removed per forum note(links are above)&lt;/P&gt;&lt;P&gt;[8.c] - Modify your extproc.ora as follows&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;SET EXTPROC_DLLS=ONLY:/arcsdehome/libst_shapelib.so:/arcsdehome/libst_raster_ora.so&lt;/PRE&gt;&lt;P&gt;5) Compile st_geometry_shapelib_pkg.&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;02-JUL-15:SYS(AS SYSDBA)@dbname&amp;gt;alter package sde.st_geometry_shapelib_pkg compile reuse settings;
Package altered.
Elapsed: 00:00:00.39&lt;/PRE&gt;&lt;P&gt;6) Creating the library causes dependent object to become invalid. Execute the following command as the SDE user (you may need to grant the execute privilege on sys.utl_recomp to user SDE)&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;02-JUL-15:SYS(AS SYSDBA)@dbname&amp;gt;GRANT EXECUTE ON SYS.UTL_RECOMP TO SDE;
Grant succeeded.
Elapsed: 00:00:00.03
02-JUL-15:SYS(AS SYSDBA)@dbname&amp;gt;conn sde/************
Connected.
02-JUL-15:SDE()@dbname&amp;gt;EXECUTE sys.utl_recomp.recomp_serial('SDE');
PL/SQL procedure successfully completed.
Elapsed: 00:00:00.56
02-JUL-15:SDE()@dbname&amp;gt;select object_name, object_type from user_objects where status = 'INVALID';
no rows selected
Elapsed: 00:00:00.03
02-JUL-15:SDE()@dbname&amp;gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this procedure will help you in configuring your mixed environment!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Izgi niyetpen,&lt;/P&gt;&lt;P&gt;Gabit Almenbetov&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 22:26:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/st-geometry-problem/m-p/513094#M29109</guid>
      <dc:creator>GabitAlmenbetov</dc:creator>
      <dc:date>2021-12-11T22:26:47Z</dc:date>
    </item>
  </channel>
</rss>

