Decision Optimization

Decision Optimization

Delivers prescriptive analytics capabilities and decision intelligence to improve decision-making.


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  Error when installing CPLEX on Ubuntu

    Posted 11/03/16 03:29 PM

    Originally posted by: MarkZhang


    Dear all,

    I was trying to install the cplex_studio1263.linux-x8632.bin file in my 32 bit Ubuntu 15.10 machine with Java installed, but I got the error message as below:

    Preparing to install...
    Extracting the JRE from the installer archive...
    Unpacking the JRE...
    Extracting the installation resources from the installer archive...
    Configuring the installer for this system's environment...

    Launching installer...

    JRE libraries are missing or not compatible....
    Exiting....

     

    I searched the problem online, many of these similar questions, but a lot of them remain unsolved.

    https://developer.ibm.com/answers/questions/222107/jre-libraries-are-missing-or-not-compatible-when-s.html

    https://www.ibm.com/developerworks/community/forums/html/topic?id=05bccbcd-895e-4fca-8da1-aa8257613e47

     

    Before I successfully installed the same installation file on an Ubuntu 12.04 machine. But not this time, I tried both on 14.04 and 15.10 so far this time.

    I tried redefining IATEMPDIR variable in case it is the problem of /tmp folder size; I double checked the system and installation file are both 32 bit version; I made sure the system is able to find JAVA/JRE, but none of these works eventually.

    Has anybody encounter this before and had a clear picture of what happened here? Your comments are appreciated!

     


    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: Error when installing CPLEX on Ubuntu

    Posted 11/03/16 04:20 PM

    This is a long shot, but under /tmp do you see folders named something like install.dir.XXXXX?

    I wonder if you use a similar trick to the one mentioned here if that will help.  This technote is also somewhat similar.

    For example, what do you see if you run:

    $ ldd /tmp/install.dir.18873/Linux/resource/jre/bin/java
    

    Does that, by chance, give you any clues if you have missing libraries?

     


    #CPLEXOptimizers
    #DecisionOptimization


  • 3.  Re: Error when installing CPLEX on Ubuntu

    Posted 11/04/16 10:17 AM

    Originally posted by: MarkZhang


    Thank you for your help, rkersh.

    I did what you suggested, but the output of the ldd command is 'not a dynamic executable' so that I cannot find out if there is any missing dependency. ( I searched on this output, some said it has something to do with the 32/64 bit system, but I have checked both my system and installation file are 32-bit )

    In addition, I did similar thing with my system java, the output is listed as below and it seems normal.

    $ ldd /usr/lib/jvm/java-1.7.0-openjdk-armhf/jre/bin/java

    libjli.so => /usr/lib/jvm/java-7-openjdk-armhf/jre/bin/./../lib/arm/jli/libjli.so (0xb6f5c000)

    libc.so.6 => /lib/arm-linux-gnueabihf/libc.so.6 (0xb6e55000)

    libdl.so.2 => /lib/arm-linux-gnueabihf/libdl.so.2 (0xb6e42000) /lib/ld-linux-armhf.so.3 (0xb6f77000)

    libpthread.so.0 => /lib/arm-linux-gnueabihf/libpthread.so.0 (0xb6e2e000)

    libz.so.1 => /lib/arm-linux-gnueabihf/libz.so.1 (0xb6e0c000)


    #CPLEXOptimizers
    #DecisionOptimization


  • 4.  Re: Error when installing CPLEX on Ubuntu

    Posted 11/04/16 04:47 AM

    Originally posted by: cgefflot


    The issue is similar to this one : https://www.ibm.com/developerworks/community/forums/html/topic?id=05bccbcd-895e-4fca-8da1-aa8257613e47

    Which value returns "uname -i" when you open a terminal ?

    The installer and the OS should have the same properties .

     


    #CPLEXOptimizers
    #DecisionOptimization


  • 5.  Re: Error when installing CPLEX on Ubuntu

    Posted 11/04/16 10:20 AM

    Originally posted by: MarkZhang


    Thank you, ChristopheGefflot.

    I have checked the system and installer, both of them are 32-bit.

    My output of 'uname -i' is armv7l, which is a 32-bit ARM.


    #CPLEXOptimizers
    #DecisionOptimization


  • 6.  Re: Error when installing CPLEX on Ubuntu

    Posted 11/04/16 11:08 AM

    My output of 'uname -i' is armv7l, which is a 32-bit ARM.

     

    That is the problem.  ARM is not supported.  See the detailed system requirements.


    #CPLEXOptimizers
    #DecisionOptimization


  • 7.  Re: Error when installing CPLEX on Ubuntu

    Posted 11/07/16 10:28 AM

    Originally posted by: MarkZhang


    Thank you very much, now I understand why.


    #CPLEXOptimizers
    #DecisionOptimization


  • 8.  Re: Error when installing CPLEX on Ubuntu

    Posted 11/04/16 11:12 AM

    Originally posted by: cgefflot


    Distro you've is not officially  supported .

    Can you force the installer to use your own JRE available through your environment , using the LAX_VM option :

    • <installer> LAX_VM <path/to/java>

    #CPLEXOptimizers
    #DecisionOptimization


  • 9.  Re: Error when installing CPLEX on Ubuntu

    Posted 11/07/16 10:30 AM

    Originally posted by: MarkZhang


    Your suggestion works very well, I really appreciate your help. Now I have the cplex successfully installed on my ARM system. I will test its functionality to see whether they are compatible.


    #CPLEXOptimizers
    #DecisionOptimization