Installing CrossWorks on 64-bit Linux

Follow

Comments

7 comments

  • Avatar
    Jon Elliott

    On the 64-bit bit version of Fedora 17, I did the following to get it work.

    From a terminal, run the following command to make sure all the Fedora packages are up-to-date:

    sudo yum upgrade

    Now run the following to install the 32-bit libraries:

    sudo yum install glibc.i686 libX11.i686 libstdc++.i686 libXrender.i686 libXft.i686 libXext.i686 libusb.i686 zlib.i686

  • Avatar
    Charles W. Hewgley

    Having trouble installing CrossWorks2.3 on Linux Mint 13 (maya) MATE 64-bit version.

    Did what Paul suggested above:

    sudo apt-get update

    sudo apt-get install lib32asound2 lib32gcc1 lib32ncurses5 lib32stdc++6 lib32z1 libc6-i386 ia32-libs

    received following error:

    ./install_crossworks: error while loading shared libraries: libX11.so.6: cannot open shared object file: No such file or directory

    The shared object file exists, but perhaps it is not where install_crossworks expects it?

    sudo find / -name libX11.so.6 -print

    /usr/lib/i386-linux-gnu/libX11.so.6

    /usr/lib/x86_64-linux-gnu/libX11.so.6

    Perhaps if you could advise me where install_crossworks expects to find this file, I could create a link to the appropriate existing file.

  • Avatar
    Charles W. Hewgley

    UPDATE to previous comment: installed VMware Player and created a virtual machine running Ubuntu 12.04 (32-bit).

    CrossWorks for ARM 2.3 was installed in the virtual machine and seems to run properly.  Next, will work on getting JTAG interface functioning under the virtual machine.

  • Avatar
    Jon Elliott

    Charles,

    I've just tried running CrossWorks for ARM 2.3 on the 64-bit version of Linux Mint 14.1 and 'sudo apt-get install lib32asound2 lib32gcc1 lib32ncurses5 lib32stdc++6 lib32z1 libc6-i386 ia32-libs' worked fine for me.

    The shared libraries should be picked up from the the default locations - on my machine it is indeed being loaded from /usr/lib/i386-linux-gnu/libX11.so.6 - You can use the strace  program to get a trace of what is happening (i.e. run 'strace ./install_crossworks' from the command line).

  • Avatar
    Charles W. Hewgley

    Jon, thanks for the response.  An excerpt from the strace output is below:

    open("/lib/tls/i686/sse2/libX11.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)

    stat64("/lib/tls/i686/sse2", 0xffaf0d2c) = -1 ENOENT (No such file or directory)

    A little research made me believe that /lib/tls directories relate to Native POSIX Thread Library (NPTL).  Perhaps my Linux distribution (Mint 13) is missing packages that the one you tried, Mint 14.1, had installed by default.

    Since the virtual machine approach I mentioned above is proving to be a bit finicky, I'll keep working on getting CrossWorks installed in my 64-bit system.

  • Avatar
    Mike Sharkey

    On Ubuntu 13..10 (saucy) X86_64:Tried: sudo apt-get install lib32asound2 lib32gcc1 lib32ncurses5 lib32stdc++6 lib32z1 libc6-i386 ia32-libs

    Fails: E: Package 'ia32-libs' has no installation candidate

    CrossWorks  install fails: ./Setup: error while loading shared libraries: libXft.so.2: cannot open shared object file: No such file or directory

     

  • Avatar
    Jon Elliott

    Mike,

    On the 64-bit version of Ubuntu 13.10, I did the following to get it to work:

    sudo apt-get install libstdc++6:i386 libxft2:i386 libxext6:i386 libusb-0.1-4:i386

    I've updated the example at the top of this page to include this.

Please sign in to leave a comment.