Solutions

Required Operating System packages to run VM 8.6.x on Red Hat Enterprise Linux (RHEL) and SUSE Linux Enterprise Server (SLES)



ID:    S142025
Published:    01 February 2017
Updated:    13 March 2024

Operating System(s)

  • Linux

Product(s)

  • PVCS Version Manager
 

Description

Version Manager relies on a number of libraries that are shipped with the Operating System. Some of these libraries are optional during the Operating System installation phase, which may result in those libraries not being available. Additionally, running Version Manager 8.6.x requires the installation of three 32-bit support packages.
 
What follows are some common error messages, followed by the RPM packages that should be installed to resolve them. Installing these packages is typically done by the system administrator. The data was collected using VM 8.6.0.0 running on 64-bit versions of:
 
  • Red Hat Enterprise Linux Server release 6.8 (Santiago) - RHEL 6.8
  • Red Hat Enterprise Linux Server release 6.9 (Santiago) - RHEL 6.9
  • Red Hat Enterprise Linux Server release 7.3 (Maipo) - RHEL 7.3
  • SUSE Linux Enterprise Server 12 SP1
  • SUSE Linux Enterprise Server 12 SP2
     
With the exception of Eclipse RIDE, this was also verified for VM 8.6.2.0 running on a 64-bit version of:
 
  • Red Hat Enterprise Linux release 8.2 (Ootpa) - RHEL 8.2
     
VM 8.6.2 does not formally support RHEL 8. While most components work, the Eclipse RIDE integration fails due to compatibility issues with system libraries log4cxx and libdb. These manifest themselves in Eclipse RIDE as ERROR- Unexpected exception. com.serena.uca.common.ClientAPIRuntimeException.

VM 8.6.3 officially supports RHEL 8, including with the Eclipse RIDE integration, and was most recently tested on:
 
  • Red Hat Enterprise Linux release 8.7 (Ootpa) - RHEL 8.7
 

Resolution

To immediately see the command that installs all dependencies, click here.
 
  • To solve the error:
     
              +----------------------------------------------------+
              | Installer unable to find unzipsfx utility in       |
              | your system. Install unzipsfx utility to continue  |
              | installation process please or check if it is      |
              | accessible for current user                        |
              +----------------------------------------------------+
     
    install the RPM unzip (RHEL).
     
  • To solve the error:
     
    mlcproxy: error while loading shared libraries: libgcc_s.so.1: cannot open shared object file: No such file or directory
     
    install the RPM libgcc.i686 (RHEL) or libgcc_s1-32bit (SLES).
     
  • To solve the error:
     
    lmutil: /lib/ld-lsb.so.3: bad ELF interpreter: No such file or directory

    install the RPM redhat-lsb-core.i686 (RHEL).
     
  • To solve any of the following the errors:
     
    mlcproxy: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
    mlcproxy: error while loading shared libraries: libstdc++.so.6: wrong ELF class: ELFCLASS64
     
    install the RPM libstdc++.i686 (RHEL) or libstdc++6-32bit (SLES).
     
  • To solve any of the following errors:
     
    mlcproxy: error while loading shared libraries: libm.so.6: cannot open shared object file: No such file or directory
    mlcproxy: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
    mlcproxy: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory
    mlcproxy: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory
     
    install the RPM glibc.i686 (RHEL) or glibc-32bit (SLES).
     
    If the first Project Database you open immediately gives the error:
     
    Access has been denied due to a licensing problem: FLEXlm code = -1 [The mlproxy process terminated unexpectedly. Please restart Version Manager.].  Please contact your Serena administrator for further assistance.
     
    first make sure that you have execute privileges on the file VM_Install_Dir/vm/linux/bin/mlcproxy. If that is not the problem, install glibc.i686 (RHEL) or glibc-32bit (SLES).
     
  • To solve the error:
     
    Could not connect to the license server "LicenseServerName".
     
    when starting the X-Windows desktop client pvcsvmux while running VM 8.6.0.0, also run the mlcproxy tests above. If the permissions on mlcproxy are fine and the required RPM is installed, follow the regular instructions for this type of error from KB doc S138569.
     
  • To solve the error:
     
    Exception in thread "main" java.lang.UnsatisfiedLinkError: /usr/serena/vm/common/java/linux/jre/lib/amd64/libawt_xawt.so: libXext.so.6: cannot open shared object file: No such file or directory

    install the RPM libXext (RHEL) or libXext6 (SLES).

    (Needed to run the X-Windows desktop client pvcsvmux.)
     
  • To solve the error:
     
    Exception in thread "main" java.lang.UnsatisfiedLinkError: /usr/serena/vm/common/java/linux/jre/lib/amd64/libawt_xawt.so: libXtst.so.6: cannot open shared object file: No such file or directory
     
    install the RPM libXtst (RHEL) or libXtst6 (SLES)

    (Needed to run the X-Windows desktop client pvcsvmux.)

     

  • To solve the error:
     
    Exception in thread "main" java.lang.UnsatisfiedLinkError: /usr/serena/vm/common/java/linux/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.<clinit>(Toolkit.java:1668)
        at java.awt.Component.<clinit>(Component.java:593)
     
    install the RPM libXrender (RHEL) or libXrender1 (SLES)

    (Needed to run the X-Windows desktop client pvcsvmux.)
     
  • To solve the error:
     
    java.lang.UnsatisfiedLinkError: /usr/serena/vm/common/lib/linux/libpvcsjvms.so: libz.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:1857)
        at java.lang.Runtime.loadLibrary0(Runtime.java:870)
        at java.lang.System.loadLibrary(System.java:1122)
        at pvcs.util.NativeEnvironment.loadLibrary(NativeEnvironment.java:295)
        at pvcs.suite.gui.PvcsApp.<clinit>(PvcsApp.java:74)

    Exception in thread "main" java.lang.UnsatisfiedLinkError: pvcs.util.SetUID.switchEffectiveUID()V
        at pvcs.util.SetUID.switchEffectiveUID(Native Method)
        at pvcs.util.SetUID.switchToEffectiveUID(SetUID.java:69)
        at pvcs.suite.gui.PvcsApp.main(PvcsApp.java:1397)
     
    or

    java.lang.UnsatisfiedLinkError: /usr/serena/vm/common/lib/linux/libpvcsjvms.so: libz.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:1857)
        at java.lang.Runtime.loadLibrary0(Runtime.java:870)
        at java.lang.System.loadLibrary(System.java:1122)
        at pvcs.util.NativeEnvironment.loadLibrary(NativeEnvironment.java:295)
        at pvcs.cmd.CmdProcessor.<clinit>(CmdProcessor.java:72)

    Exception in thread "main" java.lang.UnsatisfiedLinkError: pvcs.util.SetUID.nativeInitializeUIDs()V
        at pvcs.util.SetUID.nativeInitializeUIDs(Native Method)
        at pvcs.util.SetUID.initializeUIDs(SetUID.java:82)
        at pvcs.cmd.CmdProcessor.main(CmdProcessor.java:192)

    install the RPM zlib (RHEL) or libz1 (SLES).
     
  • To solve the error:
     
    mgdiff: error while loading shared libraries: libXm.so.4: cannot open shared object file: No such file or directory
     
    install the RPM openmotif (RHEL 6), motif (RHEL 7) or libXm4 (SLES).

    (Needed to run the X-Windows desktop client Diff/Merge tool mgdiff.)
     
    • If running Diff/Merge on the Linux console itself gives the error:
       
      Failed to create Font Set
       
      install the RPM xorg-x11-fonts-misc (RHEL) or xorg-x11-fonts-core (SLES). If you get this error viewing Diff/Merge output from a remote X-Windows system, see KB doc S141298.
       
    • To additionally solve the non-fatal warning:
       
      X Error: Cannot convert string "variable" to type FontStruct
       
      also install the RPMs xorg-x11-fonts-ISO8859-1-75dpi and xorg-x11-fonts-ISO8859-1-100dpi (RHEL). On SLES they are already included via the RPM xorg-x11-fonts-core above.
       
  • To solve the error:
     
    vpadmin: error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory

    vpadmin: error while loading shared libraries: libgobject-2.0.so.0: cannot open shared object file: No such file or directory
     
    install the RPMs libglvnd-glx and glib2 (RHEL 7), redhat-lsb-graphics (RHEL 6) or lsb5-desktop (SLES).

    (Needed to run the X-Windows Web Client administration tool vpadmin.)
     
  • To solve the error:
     
    $ vpadmin
    Segmentation fault (core dumped)
     
    install the RPM dbus-libs (RHEL) or libdbus-1-3 (SLES)

    (Needed to run the X-Windows Web Client administration tool vpadmin.)
     
  • To solve the error:
     
    /usr/serena/vm/linux/bin/DaemonServer: error while loading shared libraries: libnsl.so.1: cannot open shared object file: No such file or directory

    install the RPM libnsl (RHEL 8).

    (Needed to run the PVCS Version Manager Web Application Server.)
 
For all these RPM packages, it is assumed that they will be installed with their dependencies. This can be done automatically through the use of the command:
 
RHEL: 
 
yum install PackageName
 
SLES: 
 
zypper install PackageName
 
To ensure all packages and their dependencies are installed, run the following command: 
 
RHEL 6
 
yum install libgcc.i686 libstdc++.i686 glibc.i686 redhat-lsb-core.i686 xorg-libXext libXtst libXrender zlib openmotif xorg-x11-fonts-misc xorg-x11-fonts-ISO8859-1-75dpi xorg-x11-fonts-ISO8859-1-100dpi redhat-lsb-graphics dbus-libs unzip
 
RHEL 7:
 
yum install libgcc.i686 libstdc++.i686 glibc.i686 redhat-lsb-core.i686 libXext libXtst libXrender zlib motif xorg-x11-fonts-misc xorg-x11-fonts-ISO8859-1-75dpi xorg-x11-fonts-ISO8859-1-100dpi libglvnd-glx glib2 dbus-libs unzip
 
RHEL 8:

dnf install libgcc.i686 libstdc++.i686 glibc.i686 redhat-lsb-core.i686 libXext libXtst libXrender zlib motif xorg-x11-fonts-misc xorg-x11-fonts-ISO8859-1-75dpi xorg-x11-fonts-ISO8859-1-100dpi libglvnd-glx glib2 dbus-libs libnsl unzip

SLES 12:
zypper install libgcc_s1-32bit libstdc++6-32bit glibc-32bit libXext6 libXtst6 libXrender1 libz1 libXm4 xorg-x11-fonts-core lsb5-desktop libdbus-1-3

 


Rate this Solution

Find Answers

Type a question or describe what you are looking for below

My Recent Searches

Welcome kb sso

Additional Assistance

  • Submit a Case Online
  • FAQs