laptop and a wrench

Bug

The ST_SHAPELIB shared library file is not being correctly built and registered on AIX and HP-UX platforms.

Last Published: August 25, 2014 No Product Found
Bug ID Number NIM012275
SubmittedOctober 11, 2007
Last ModifiedJune 5, 2024
Applies toNo Product Found
Version found9.2
Version Fixed9.3
StatusFixed

Description

When running Spatial Type for Oracle functions on AIX and HP, the following error message is displayed:

"ORA-06522: Unable to find library libst_shapelib.so"

Cause

The ArcSDE for Oracle ST_SHAPELIB library file is used for SQL access to ST_Geometry data. The ST_SHAPELIB library file name is not being correctly created on AIX and HP during the post-installation stage of ArcSDE. The default library file name is being created under location and name:

%SDEHOME%/lib/libst_shapelib.sl.

On AIX, the correct file name is libst_shapelib_64.so. On HP, the correct file name is st_shapelib.sl.

Workaround

Re-create the ST_SHAPELIB library in Oracle as the 'sde' schema user.

  1. Log into Oracle as the sde user, for example:
    sqlplus sde/sde
  2. Re-create the library.

    On HP_UX:

    Code:
    SQL> create or replace library SDE.ST_SHAPELIB AS
    SQL> '<path to library file>/libst_shapelib.sl';

    On AIX

    Code:
    SQL> create or replace library SDE.ST_SHAPELIB AS
    SQL> '<path to library file>/libst_shapelib_64.so';

Steps to Reproduce

Bug ID: NIM012275

Software:

  • No Product Found

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options