0

On my Linux raspberrypi 5.10.63 (32-bit armv7l), I've built the GLIBC v2.34 from source (here are the steps). I installed the GLIBC into /opt/glibc-2.34/.

I need to use this GLIBC when I link my app with TensorFlow shared library (TensorFlow.so was built using GLIBC 2.34, and my RaspberryPi Linux uses older: v2.31).

How would I temporarily switch to newer GLIBC (during linkage using Meson build system)?

I tried:

  • export LD_LIBRARY_PATH="/opt/glibc-2.34/lib:$LD_LIBRARY_PATH"
  • export PATH="/opt/glibc-2.34/bin:$PATH"

but that gives:

sed: symbol lookup error: /opt/glibc-2.34/lib/libc.so.6: undefined symbol: __nptl_set_robust_list_avail, version GLIBC_PRIVATE

The final try:

  • meson compile

gives the same:

/usr/bin/python3: symbol lookup error: /opt/glibc-2.34/lib/libc.so.6: undefined symbol: __nptl_set_robust_list_avail, version GLIBC_PRIVATE

Danijel
  • 7,354
  • 18
  • 64
  • 114

0 Answers0