Fixing Oracle Webcenter Content IBR processing “error while loading shared libraries: libz.so.1″

After installing and configuring Oracle Webcenter Content (UCM) on a 64 bit linux system you may have problems if you ignored some of the Oracle installers linux prerequisites.  For some reason many of the 64 bit counterparts are not recognized by the program and the installer. Such as zlib and zlib-devel.

For example, if you see the following error.

 Creating jpg thumbnail.
Creating thumbnail image of /opt/Oracle/Middleware/user_projects/domains/wcc_domain/ucm/ibr/vault/~temp/..../1/606.jpeg.
Writing Image Export resource file.
Launching Image Export csLinefeed/opt/Oracle/Middleware/Oracle_ECM1/oit/linux/lib/contentaccess//exsimple: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory 

Exception type is 'java.lang.Throwable'. [ Details ]
An error has occurred. The stack trace below shows more information.

!csLogJobIdPrefix,1!csLinefeed!csCreateThumbnailFormat,jpg!csLinefeed!csThumbnailNativeSrcFile,/opt/Oracle/Middleware/user_projects/domains/wcc_domain/ucm/ibr/vault/~temp/....../1/606.jpeg!csLinefeed!csCreateThumbnailWriteResources!csLinefeed!csCreateThumbnailLaunchIX!csLinefeed/opt/Oracle/Middleware/Oracle_ECM1/oit/linux/lib/contentaccess//exsimple: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
!csLinefeed!syExceptionType,java.lang.Throwable
java.lang.Throwable
at docrefinery.convert.engines.CreateTRenditionImageExport.convert(CreateTRenditionImageExport.java:121)
at docrefinery.convert.StepHandler.executeCodeStep(StepHandler.java:495)
at docrefinery.convert.StepHandler.executeStepByName(StepHandler.java:150)
at docrefinery.convert.ConversionDriver.processSteps(ConversionDriver.java:291)
at docrefinery.convert.ConversionDriver.convertDocument(ConversionDriver.java:171)
at docrefinery.convert.ConversionDriver.processSubConversion(ConversionDriver.java:197)
at docrefinery.convert.StepHandler.executeStepByName(StepHandler.java:154)
at docrefinery.convert.ConversionDriver.processSteps(ConversionDriver.java:291)
at docrefinery.convert.ConversionDriver.convertDocument(ConversionDriver.java:171)
at docrefinery.queue.PreConvertedRefineryQueueMonitor.convertJob(PreConvertedRefineryQueueMonitor.java:384)
at docrefinery.queue.PreConvertedRefineryQueueMonitor$2.run(PreConvertedRefineryQueueMonitor.java:314)
at java.lang.Thread.run(Thread.java:662)

Try installing the 32 bit zlib libraries

yum install --skip-broken zlib.i686 zlib-devel.i686

If you are also see warnings during the ucm installation that reports that libraries are not installed such as libz.so.1 you might also try this. The issue is that the installer and the application are looking for 32 bit and if you have a 64-bit install you still need the 32-bit.