Error: librpcsoc.so.1: open failed: No such file or directory

Error Message

This error occurs when creating an ArcSDE geocoding service:

Unable to store the geocoding service.
Locator cannot be validated[ld.so.1: /esri/sdeexe81/bin/gsrvr: fatal: librpcsoc.so.1: open failed: No such file or directory][]


ArcSDE cannot find a library required to create a geocoding service.

Solution or Workaround

Add the following directory to the LD_LIBRARY_PATH variable in the dbinit.sde file:


For example:

    set LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/ucblib 

You will need to restart the ArcSDE service in order for this change to take effect.

Use the following command from the ArcSDE server machine's command line to verify that the LD_LIBRARY_PATH was updated:

sdemon -o info -I vars