C Installing Libraries and Setting Environment Variables

WebCenter Content, Inbound Refinery, Imaging, and the Imaging Advanced Viewer for clients use Oracle Outside In Technology, which requires certain libraries that are not part of Oracle WebCenter Content.

Before a WebCenter Content, Inbound Refinery, or Imaging Managed Server is started, you need to install the libraries for your platform. For a UNIX platform, you also need to set an environment variable to reference the libraries in the library path for the user who will start the Managed Server.

Note:

The Outside In Technology binaries are 32 bit, so your system needs to be capable of running the 32-bit binaries and have compatible libraries installed.

Installing Libraries on UNIX Platforms

Before you start a WebCenter Content, Inbound Refinery, or Imaging Managed Server, the libraries required for your platform need to be available on your system.

Many of the required libraries are normally installed on the machine, including the C, math, X11, dynamic loader, and pthreads libraries, among others.

Solaris SPARC 32-bit or 64-bit

/usr/platform/SUNW,Ultra-60/lib/libc_psr.so.1 
libICE.so.6 
libSM.so.6 
libX11.so.4 
libXext.so.0 
libXm.so.4 
libXt.so.4 
libc.so.1 
libdl.so.1 
libgen.so.1 
libm.so.1 
libmp.so.2 
libnsl.so.1 
libpthread.so.1 
libsocket.so.1 
libthread.so.1 

HPUX ia64

libCsup.so.1 
libICE.so.1 
libSM.so.1 
libX11.so.1 
libXext.so.1 
libXm.so.1 
libXp.so.1 
libXt.so.1 
libc.so.1 
libdl.so.1 
libm.so.1 
libpthread.so.1 
libstd_v2.so.1 
libuca.so.1 
libunwind.so.1

AIX 32-bit

/usr/lib/libC.a(ansi_32.o) 
/usr/lib/libC.a(shr.o) 
/usr/lib/libC.a(shr2.o) 
/usr/lib/libC.a(shr3.o) 
/usr/lib/libICE.a(shr.o) 
/usr/lib/libIM.a(shr.o) 
/usr/lib/libSM.a(shr.o) 
/usr/lib/libX11.a(shr4.o) 
/usr/lib/libXext.a(shr.o) 
/usr/lib/libXi.a(shr.o) 
/usr/lib/libXm.a(shr_32.o) 
/usr/lib/libXt.a(shr4.o) 
/usr/lib/libc.a(shr.o) 
/usr/lib/libcrypt.a(shr.o) 
/usr/lib/libgaimisc.a(shr.o) 
/usr/lib/libgair4.a(shr.o) 
/usr/lib/libi18n.a(shr.o) 
/usr/lib/libiconv.a(shr4.o) 
/usr/lib/libodm.a(shr.o) 
/usr/lib/libpthreads.a(shr.o) 
/usr/lib/libpthreads.a(shr_comm.o) 
/usr/lib/libpthreads.a(shr_xpg5.o) 
/usr/lib/libpthreads_compat.a(shr.o) 

HPUX PA/RISC 32-bit

/lib/libCsup.2 
/lib/libCsup_v2.2 
/lib/libX11.3 
/lib/libXm.4 
/lib/libXt.3 
/lib/libc.2 
/lib/libcl.2 
/lib/libm.2 
/lib/libstd.2 
/lib/libstd_v2.2 
/lib/libstream.2 
/usr/lib/libCsup.2 
/usr/lib/libCsup_v2.2 
/usr/lib/libX11.3 
/usr/lib/libXm.4 
/usr/lib/libXt.3 
/usr/lib/libc.2 
/usr/lib/libcl.2 
/usr/lib/libdld.2 
/usr/lib/libisamstub.1 
/usr/lib/libm.2 
/usr/lib/libstd.2 
/usr/lib/libstd_v2.2 
/usr/lib/libstream.2 
/view/x_r6hp700_1111/vobs/swdev/pvt/r6hp700_1111/X11R6/lib/libICE.2
/view/x_r6hp700_1111/vobs/swdev/pvt/r6hp700_1111/X11R6/lib/libSM.2
/view/x_r6hp700_1111/vobs/swdev/pvt/r6hp700_1111/X11R6/lib/libX11.3
/view/x_r6hp700_1111/vobs/swdev/pvt/r6hp700_1111/X11R6/lib/libXext.3
/view/x_r6hp700_1111/vobs/swdev/pvt/r6hp700_1111/X11R6/lib/libXp.2
/view/x_r6hp700_1111/vobs/swdev/pvt/r6hp700_1111/X11R6/lib/libXt.3

SUSE Linux

For an SUSE Linux operating system, the file /usr/lib/libstdc++.so.5 is required. You can find this file in the compat-libstdc++ or libstdc++33 package.

Linux variants

For Linux variants, the file /lib/libz.so.1 is required.

Setting Library Paths in Environment Variables on UNIX Platforms

Before Inbound Refinery or the WebCenter Content Dynamic Converter uses Outside In Technology for document and image conversions, the following environment variables must be set for the WebCenter Content Managed Server on the specified UNIX platforms:

  • Environment variables for library paths for Imaging
    • Add the following line to the Inbound Refinery intradoc.cfg file at DomainHome/ucm/ibr/bin

      ContentAccessExtraLibDir=/usr/local/packages/gcc-3.4.2/lib

      Restart inbound Refinery.

    • AIX:

      LIBPATH=DomainHome/oracle/imaging/imaging-server
    • HP-UX Itanium:

      LD_LIBRARY_PATH=DomainHome/oracle/imaging/imaging-server:"$LD_LIBRARY_PATH"
  • DISPLAY environment variable

    On a UNIX operating system running XWindows, when redirecting the display to a system with suitable graphic capabilities, export DISPLAY to a valid X Server before starting the Imaging or Inbound Refinery Managed Server or the WebCenter Content Dynamic Converter.