2.2.2 Troubleshooting the example program

You can encounter common error messages when running the example program.

  • If you attempt to run the example program on a 32-bit Linux host, it gives an error similar to the following:

    ./Foundation_Platform: /lib64/ld-linux-x86-64.so.2: bad ELF interpreter: No such file or directory
  • If libstdc++ is not installed on your system, you get the following error on startup:

    ./Foundation_Platform: error while loading shared libraries: libstdc++.so.6: cannot open shared object file
  • If your system glibc is too old, or your libstdc++ is too old, you get the following messages:

    ./Foundation_Platform: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4' not found (required by Foundation_Platform)
    ./Foundation_Platform: /lib64/libc.so.6: version `GLIBC_2.3.2' not found (required by Foundation_Platform)
    ./Foundation_Platform: /lib64/libc.so.6: version `GLIBC_2.2.5' not found (required by Foundation_Platform)

    libstdc++ and glibc are normally part of your core OS installation.

Non-ConfidentialPDF file icon PDF version100961_1142_00_en
Copyright © 2012–2018 Arm Limited or its affiliates. All rights reserved.