Holm,
I am sorry that you have incurred frustration.
For 10.1 we support the following:
Postgres server on a 64bit os platform
ArcGIS Server on 64bit os platform
Please try the following steps:
1. place the 64bit postgers client libraries in the ArcGIS Server/bin location
- you can use the 9.0.2 or 9.0.5 or the 9.1.3 libs, we have found no difference between them yet, but to be save I would recommend using the ones that correspond to your postgres server version.
- they are located in the Customer Care portal, under DBMS Support Files
- to my knowledge Postgres does not distribute their client libraries as a separate download, we separate them out and place them on the Customer Care portal for your convenience but aside from installing the postgres software on a 64bit os and separating out the libpq libraries and their dependencies, I do not know of any other way of finding them.
- I am guessing that you have gotten past this step since you are getting the st_geometry lib errors.
2. place the st_geometry library in the postres lib location
- on windows, the postgres lib loction is the following: C:\Program Files\PostgreSQL\9.0\lib
- the ArcGIS Server installation will provide you with st_geometry lib version per postgres version, per os
- the build of the library is specific to the version of Postgres, for example you can not use the 9.0.2 build of st_geometry with Postgres 9.1 etc. If your postgres version is 9.0.5 than you have to use the library build with 9.0.5.
- if the Postgres installation is on a linux os, it may be tricky to place the st_geometry library in the correct place, since the place varies depending on how you installed Postgres. The safest way is to refer to the PKGLIBDIR value listed with pg_config and place the library there, please make sure that it is executable.
- if ArcGIS Server is on a linux os, than you will need to fill out the init_user_param.sh under .../arcgis/server/usr for a direct connect to work
Please respond if this was not helpful,
Most Sincerely,
Kasia