I2c problems on different BSP image version

I see different behavior about using /dev/i2c0 with my C++ application with different BSP version:

  • Toradex Embedded Linux Reference Multimedia Image (UPSTREAM) 6.2.0+build.6: it work fine
  • Toradex Embedded Linux Reference Minimal Image (UPSTREAM) 6.2.0+build.6: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
  • Toradex Embedded Linux Reference Minimal Image 5.7.2+build.21: it freeze the Colibri and I must power off-on it

Is it an expected behavoir ?

Hello @Massimo,

May I ask you how you are building your application?
Could you please specify which toolchain you are using?
Did you build the toolchain using Yocto?

Hello Rudhi,
I used the SDK Toradex\SDK\angstrom-glibc-x86_64-armv7at2hf-neon-v2017.12-toolchain.sh that I found in this link Quickstart Guide - Toradex.

Thanks