I have installed all of the dependency libraries as documented in (UG1144), but when I run petalinux-build on Ubuntu 14.04.3, I get the following error:
[ALL ] Compiling coresightps_dcc
[ALL ] arm-none-eabi-gcc: error while loading shared libraries: libstdc++.so.6: wrong ELF class: ELFCLASS64
[ERROR] make: *** [xcoresightpsdcc.o] Error 127
[ALL ] make: Leaving directory `/homeseemas/firmware/sbc/firmware/build/linux/bootloader/zynq_fsbl/zynq_fsbl_bsp/ps7_cortexa9_0/libsrc/coresightps_dcc_v1_2/src'
[ERROR] make: *** [ps7_cortexa9_0/libsrc/coresightps_dcc_v1_2/src/make.libs] Error 2
[ALL ] make: Leaving directory `/home/seemas/firmware/sbc/firmware/build/linux/bootloader/zynq_fsbl/zynq_fsbl_bsp'
[ERROR] make: *** [build] Error 255
[ALL ] make: Leaving directory `/home/seemas/firmware/sbc/firmware/build/linux/bootloader'
[ALL ] make: *** [sub_build_component_/none/bootloader/single/zynq_fsbl] Error 2
[ALL ] make: Leaving directory `/home/seemas/firmware/sbc/firmware/build/linux'
How can I work around this issue?
32-bit dependency libraries are still required for the 2016.1 and 2016.2 versions of Petalinux Install.
Install the 32-bit libraries listed below which apply to your host operating system: