32-bit installation issue

Help
2012-04-17
2012-12-29
  • Ignacio Valdes
    Ignacio Valdes
    2012-04-17

    Hi Bhaskar, old ./configure doesn't seem to work on 32-bit Linux? This is on Fedora 16 32 bit:

    # ./configure
                        GT.M Configuration Script
    Copyright 2009, 2012 Fidelity Information Services, Inc. Use of this
    software is restricted by the provisions of your license agreement.

    What user account should own the files? (bin)
    What group should own the files? (bin) gtm
    Should execution of GT.M be restricted to this group? (y or n) y
    In what directory should GT.M be installed? /opt/fis-gtm/V5.5-000_i686/

    Directory /opt/fis-gtm/V5.5-000_i686/ does not exist. Do you wish to
    create it as part of
    this installation? (y or n) y

    Installing GT.M….

    Should UTF-8 support be installed? (y or n) y
    Should an ICU version other than the default be used? (y or n) n

    All of the GT.M MUMPS routines are distributed with uppercase names.
    You can create lowercase copies of these routines if you wish, but
    to avoid problems with compatibility in the future, consider keeping
    only the uppercase versions of the files.

    Do you want uppercase and lowercase versions of the MUMPS routines? (y or n)n

    Compiling all of the MUMPS routines. This may take a moment.

    %GTM-E-DLLNOOPEN, Failed to load external dynamic library
    /opt/fis-gtm/V5.5-000_i686//libgtmshr.so
    %GTM-E-TEXT, /opt/fis-gtm/V5.5-000_i686//libgtmshr.so: cannot enable
    executable stack as shared object requires: Permission denied
    %GTM-E-DLLNOOPEN, Failed to load external dynamic library
    /opt/fis-gtm/V5.5-000_i686//utf8/libgtmshr.so
    %GTM-E-TEXT, /opt/fis-gtm/V5.5-000_i686//utf8/libgtmshr.so: cannot
    enable executable stack as shared object requires: Permission denied
    %GTM-E-DLLNOOPEN, Failed to load external dynamic library
    /opt/fis-gtm/V5.5-000_i686//libgtmshr.so
    %GTM-E-TEXT, /opt/fis-gtm/V5.5-000_i686//libgtmshr.so: cannot enable
    executable stack as shared object requires: Permission denied
    %GTM-E-DLLNOOPEN, Failed to load external dynamic library
    /opt/fis-gtm/V5.5-000_i686//libgtmshr.so
    %GTM-E-TEXT, /opt/fis-gtm/V5.5-000_i686//libgtmshr.so: cannot enable
    executable stack as shared object requires: Permission denied
    chmod: cannot access `/opt/fis-gtm/V5.5-000_i686//*.gld': No such file
    or directory

    Removing world permissions from gtmsecshr wrapper since group
    restricted to "gtm"
    chmod: cannot operate on dangling symlink
    `/opt/fis-gtm/V5.5-000_i686//utf8/gdehelp.gld'
    chmod: cannot operate on dangling symlink
    `/opt/fis-gtm/V5.5-000_i686//utf8/gtmhelp.gld'

     
  • K.S. Bhaskar
    K.S. Bhaskar
    2012-04-17

    Is this new behavior with V5.5-000 or do you have this problem with older releases of GT.M on Fedora 16?

    Assuming that this is not new with V5.5-000, my guess is that an additional security layer above the Linux kernel (such as SELinux) is preventing GT.M from installing correctly.  I suspect it may stop the following lines in the configure script from executing correctly:

    if ; then
    chcon -t texrel_shlib_t $gtmdist/libgtmshr$ext > /dev/null 2>&1
    fi

    We don't have experience with Fedora (GT.M does install and run correctly on RHEL 5 and 6) and do not know much about different flavors of layered security like SELinux.

    If you can run without SELinux, try that.  Alternatively, if you can run it in the permissive mode where it helps identify needed permissions, try that.  Or try debugging the configure script.  And do let us know what you find out.  Thanks.

    Regards
    - Bhaskar

    P.S. The release notes for each release tell you which platforms are Supported, meaning that we have them in house and have built and tested GT.M on them.

     
  • Ignacio Valdes
    Ignacio Valdes
    2012-04-18

    Yes, it was SELinux, thanks! - IV

     
  • K.S. Bhaskar
    K.S. Bhaskar
    2012-04-18

    Would you care to post what you had to do to make it work?  Thanks.