vangelo,
executing 'ldd st_geometry.so' as postgres user I get:
linux-vdso.so.1 => (0x00007fffcec8e000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00002ada0dbd5000)
libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00002ada0ddf0000)
libm.so.6 => /lib64/libm.so.6 (0x00002ada0e0f1000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00002ada0e374000)
libc.so.6 => /lib64/libc.so.6 (0x00002ada0e582000)
/lib64/ld-linux-x86-64.so.2 (0x000000392e400000)
I was still stuck at the same problem...
I decided to restart from scratch and now I get this error while executing the command:
sdesetup -o install -d POSTGRESQL...
ESRI ArcSDE Server Setup Utility Tue Aug 2 14:38:56 2011
----------------------------------------------------------------
Install or update ST_GEOMETRY, ArcSDE, GDB schema objects: Are you sure? (Y/N): Y
Checking INSTALL privileges for geodatabase ...
Current user has privilege to install geodatabase instance.
Checking geodatabase XML datatype support...
Underlying RDBMS database instance supports XML data type.
Creating ST_GEOMETRY and ArcSDE schema.....
Segmentation fault
Some relations have been created in the database, in fact executing '\d' from postgresql command line I get this list:
List of relations
Schema | Name | Type | Owner
--------+---------------------------------+----------+-------
public | sde_spatial_references | table | sde
public | sde_spatial_references_srid_seq | sequence | sde
sde | sde_coordinate_systems | table | sde
sde | sde_geometry_columns | table | sde
sde | st_geometry_columns | view | sde
sde | st_spatial_references | view | sde
(6 rows)
The relations listed seem to be all empty, only the schema has been created.
[Tue Aug 2 14:09:47 2011] ev.SQLstate = 42P01
SDE DBMS Error: -37 ERROR: relation "sde.sde_layers" does not exist
[Tue Aug 2 14:09:47 2011] ev.SQLstate = 42P01
SDE DBMS Error: -37 ERROR: relation "sde.sde_server_config" does not exist
[Tue Aug 2 14:09:47 2011] ev.SQLstate = 42P01
SDE DBMS Error: -37 ERROR: relation "sde.sde_dbtune" does not exist
[Tue Aug 2 14:09:47 2011] ev.SQLstate = 42P01
SDE DBMS Error: -37 ERROR: relation "sde.sde_server_config" does not exist
[Tue Aug 2 14:09:47 2011] ST_GEOMETRY support being installed...
[Tue Aug 2 14:09:47 2011] ev.SQLstate = 42P01
SDE DBMS Error: -37 ERROR: relation "sde.sde_coordinate_systems" does not exist
[Tue Aug 2 14:09:47 2011] COORDINATE_SYSTEMS table being created...
[Tue Aug 2 14:09:47 2011] COORDINATE_SYSTEMS table created...
[Tue Aug 2 14:09:47 2011] ev.SQLstate = 42P01
SDE DBMS Error: -37 ERROR: relation "public.sde_spatial_references" does not exist
[Tue Aug 2 14:09:47 2011] SPATIAL_REFERENCES table being created...
[Tue Aug 2 14:09:47 2011] SPATIAL_REFERENCES table created...
[Tue Aug 2 14:09:47 2011] ev.SQLstate = 42P01
SDE DBMS Error: -37 ERROR: relation "sde.sde_geometry_columns" does not exist
[Tue Aug 2 14:09:47 2011] GEOMETRY_COLUMNS table being created...
[Tue Aug 2 14:09:47 2011] GEOMETRY_COLUMNS table created...
[Tue Aug 2 14:09:47 2011] ST_GEOMETRY install not completed (-1015).
[Tue Aug 2 14:09:47 2011] ERROR installing/upgrading ArcSDE, Error = -1015
[Tue Aug 2 14:26:24 2011] ev.SQLstate = 42P01
SDE DBMS Error: -37 ERROR: relation "sde.sde_layers" does not exist
[Tue Aug 2 14:26:24 2011] ev.SQLstate = 42P01
SDE DBMS Error: -37 ERROR: relation "sde.sde_server_config" does not exist
[Tue Aug 2 14:26:24 2011] ev.SQLstate = 42P01
SDE DBMS Error: -37 ERROR: relation "sde.sde_dbtune" does not exist
[Tue Aug 2 14:26:24 2011] ev.SQLstate = 42P01
SDE DBMS Error: -37 ERROR: relation "sde.sde_server_config" does not exist
[Tue Aug 2 14:26:24 2011] ST_GEOMETRY support being installed...
[Tue Aug 2 14:26:24 2011] ST_GEOMETRY install not completed (-1015).
[Tue Aug 2 14:26:24 2011] ERROR installing/upgrading ArcSDE, Error = -1015
[Tue Aug 2 14:38:59 2011] ev.SQLstate = 42P01
SDE DBMS Error: -37 ERROR: relation "sde.sde_layers" does not exist
[Tue Aug 2 14:38:59 2011] ev.SQLstate = 42P01
SDE DBMS Error: -37 ERROR: relation "sde.sde_server_config" does not exist
[Tue Aug 2 14:38:59 2011] ev.SQLstate = 42P01
SDE DBMS Error: -37 ERROR: relation "sde.sde_dbtune" does not exist
[Tue Aug 2 14:38:59 2011] ev.SQLstate = 42P01
SDE DBMS Error: -37 ERROR: relation "sde.sde_server_config" does not exist
[Tue Aug 2 14:38:59 2011] ST_GEOMETRY support being installed...
[Tue Aug 2 14:38:59 2011] ST_GEOMETRY install not completed (-1015).
[Tue Aug 2 14:38:59 2011] ERROR installing/upgrading ArcSDE, Error = -1015
Any suggestion?