KB Article #178685
[LIB - 6004]: Error while loading shared library is : No such file or directory
Problem
-- getting this error when executing an integration
ERROR :20170425:16.33.52.02:HME_PE(procengine(dmlmap.so)):[LIB - 6004]: Error while loading shared library is : No such file or directory
ERROR :20170425:16.33.52.02:HME_PE(procengine(dmlmap.so)):[LIB - 6001]: Unable to load the shared library /Synchrony/Integrator/local/runtime/mappingcomponent/running/Generated/MapBroker/dmlobj-58FF3C3789f16-013
DEBUG :20170425:16.33.52.02:HME_PE(procengine(dmlmap.so)):Session finished with error
Resolution
* when an Integration is deployed, there should be 4 files (.piico, . so, .s, .o) generated in local/runtime/mappingcomponent/running/Generated/MapBroker
* it may happen that the deployment appears as complete with no error, but that the .so has not been created (the error is not catched properly). It leads to this error at runtime
* redeploy the flow and check if the .so has been created. If not, analyze the broadcast.log and agent.log to find the cause of the failure. You may set the debug on the deployment part by adding the variable DML_OPTIONS=debug in $CORE_LOCAL/config/environment.dat (more details about the DML_OPTIONS here https://support.axway.com/kb/68743/language/en)