'libXrender.so.1: cannot open shared object file' When Launching GridSetup.sh

(Doc ID 2384148.1)

Last updated on MAY 09, 2018

Applies to:

Oracle Database - Enterprise Edition - Version 12.2.0.1 and later
Information in this document applies to any platform.

Symptoms

When Installing on Linux:

When trying to launch gridSetup.sh to upgrade Grid Infrastructure to 12.2 but it is failing with following errors.

GUI tools from previous version 12.1.0.2 such as asmca works without any problem. also libXre rpm is installed on operating system. 

rac1:{+ASM1}:/home/oracle >cd /oragridbase/product/12.2.0.2/grid
rac1:{+ASM1}:/oragridbase/product/12.2.0.2/grid >env | grep DISPLAY
DISPLAY=rac4:1
hloddbs001:{+ASM1}:/oragridbase/product/12.2.0.2/grid >gridSetup.sh
ERROR: Unable to verify the graphical display setup. This application requires X display. Make sure that xdpyinfo exist under PATH variable.
Exception in thread "main" java.lang.UnsatisfiedLinkError: /oragridbase/product/12.2.0.2/grid/jdk/jre/lib/amd64/libawt_xawt.so: libXrender.so.1: cannot open shared object file: No such file or directory
  at java.lang.ClassLoader$NativeLibrary.load(Native Method)
  at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)
  at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1824)
  at java.lang.Runtime.load0(Runtime.java:809)
  at java.lang.System.load(System.java:1086)
  at java.lang.ClassLoader$NativeLibrary.load(Native Method)
  at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)
  at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1845)
  at java.lang.Runtime.loadLibrary0(Runtime.java:870)
  at java.lang.System.loadLibrary(System.java:1122)
  at java.awt.Toolkit$3.run(Toolkit.java:1636)
  at java.awt.Toolkit$3.run(Toolkit.java:1634)
  at java.security.AccessController.doPrivileged(Native Method)
  at java.awt.Toolkit.loadLibraries(Toolkit.java:1633)
  at java.awt.Toolkit.(Toolkit.java:1668)
  at com.jgoodies.looks.LookUtils.isLowResolution(LookUtils.java:484)
  at com.jgoodies.looks.LookUtils.(LookUtils.java:249)
  at com.jgoodies.looks.plastic.PlasticLookAndFeel.(PlasticLookAndFeel.java:135)


When Installing on  Oracle Solaris on SPARC (64-bit) : 

ERROR: Unable to verify the graphical display setup. This application requires X display. Make sure that xdpyinfo exist under PATH variable.

Exception in thread "main" java.lang.UnsatisfiedLinkError: /u01/app/12.0.2/grid/jdk/jre/lib/sparcv9/libawt_xawt.so: ld.so.1: java: fatal: libXrender.so.1: open failed: No such file or directory

at java.lang.ClassLoader$NativeLibrary.load(Native Method)

at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)

Cause: X11 libraries are missing like libXrender.so. 

Changes

 New Grid Infrastructure Installation

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms