My Oracle Support Banner

'libXrender.so.1: cannot open shared object file' When Launching GridSetup.sh (Doc ID 2384148.1)

Last updated on JANUARY 07, 2020

Applies to:

Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
Oracle Database Backup Service - Version N/A 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. 

<host>:{+ASM1}:/home/oracle >cd /oragridbase/product/12.2.0.2/grid
<host>:{+ASM1}:/oragridbase/product/12.2.0.2/grid >env | grep DISPLAY
DISPLAY=<host>:1
<node1>:{+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

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.