This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS: Can't install CCS9 on Ubuntu 18.04 LTS

Tool/software: Code Composer Studio

I've followed the steps from http://software-dl.ti.com/ccs/esd/documents/ccs_linux_host_support.html but when I run the binary file installation fails because it can't find the 32-bit libc6-i386 even though I followed all the instructions sudo apt install all the dependencies and can see them in my terminal 

ii libc6:amd64 2.27-3ubuntu1 amd64 GNU C Library: Shared libraries
ii libc6:i386 2.27-3ubuntu1 i386 GNU C Library: Shared libraries
ii libc6-armel-cross 2.27-3ubuntu1cross1.1 all GNU C Library: Shared libraries (for cross-compiling)
ii libc6-dbg:amd64 2.27-3ubuntu1 amd64 GNU C Library: detached debugging symbols
ii libc6-dev:amd64 2.27-3ubuntu1 amd64 GNU C Library: Development Libraries and Header Files
ii libc6-dev-armel-cross 2.27-3ubuntu1cross1.1 all GNU C Library: Development Libraries and Header Files (for cross-compiling)
ii libc6-dev-i386 2.27-3ubuntu1 amd64 GNU C Library: 32-bit development libraries for AMD64
ii libc6-dev-x32 2.27-3ubuntu1 amd64 GNU C Library: X32 ABI Development Libraries for AMD64
ii libc6-i386 2.27-3ubuntu1 amd64 GNU C Library: 32-bit shared libraries for AMD64
ii libc6-x32 2.27-3ubuntu1 amd64 GNU C Library: X32 ABI Shared libraries for AMD64

Any clues?

  • Hi Justin,

    Can you run 'uname -a' and post the output here?

    thanks

    ki

  • Hi ki,

    The results were:

    Linux famer-Inspiron-3521 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

  • Thanks. That is the same as mine. Strange that the installer is complaining about the missing dependency.

    Can you provide the exact message you see (or screenshot) from the installer?

    Thanks

    ki

  • Is this a native Linux machine or are you running in a VM or WSL (Windows Subsystem for Linux)? The latter (WSL) is not supported.

    Thanks

    ki

  • It's definitely not a VM. I installed a linux distro on my laptop that use to be windows. I don't know if that is affecting my situation?

  • No, assuming that this is now a laptop running Linux natively, that should not be an issue.

    The error you get I've seen on machines that are not a native Linux machine (VM, etc). Sorry for the delay, I'll need to dig around a bit more on why this issue occurs on native Linux machines.

    ki

  • Hi,

    I just installed ubuntu 18.04.3 and I hit the same message immediately after booting the system for the first time - i.e., no additional packages on the system. 

    It seems that over the years Ubuntu changed the way to designate the i386 packages (several reports on e2e about this).

    When I issue the command shown in the Linux installation instructions using the argument libc6:i386 I get an error.

    cmd said:

    user@test-lab:~$ sudo apt install libc6:i386
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    The following information may help to resolve the situation:

    The following packages have unmet dependencies:
    libc6:i386 : Depends: libgcc1:i386 but it is not going to be installed
    E: Unable to correct problems, you have held broken packages.

    Then, issuing the very similar package name libc6-i386, the CCS installer process moves forward. 

    cmd said:

    user@test-lab:~$ sudo apt install libc6-i386
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following NEW packages will be installed:
    libc6-i386
    0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
    Need to get 2,651 kB of archives.
    After this operation, 12.4 MB of additional disk space will be used.
    Get:1 us.archive.ubuntu.com/ubuntu bionic/main amd64 libc6-i386 amd64 2.27-3ubuntu1 [2,651 kB]
    Fetched 2,651 kB in 0s (5,803 kB/s)
    Selecting previously unselected package libc6-i386.
    (Reading database ... 126227 files and directories currently installed.)
    Preparing to unpack .../libc6-i386_2.27-3ubuntu1_amd64.deb ...
    Unpacking libc6-i386 (2.27-3ubuntu1) ...
    Setting up libc6-i386 (2.27-3ubuntu1) ...
    Processing triggers for libc-bin (2.27-3ubuntu1) ...

    From the command line can you issue the command below and see if the libraries are installed?

    cmd said:

    user@test-lab:~$ apt list --installed | grep libc6

    WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

    libc6/bionic,now 2.27-3ubuntu1 amd64 [installed,automatic]
    libc6-dbg/bionic,now 2.27-3ubuntu1 amd64 [installed,automatic]
    libc6-i386/bionic,now 2.27-3ubuntu1 amd64 [installed]

    Hope this helps,

    Rafael