1
votes

I'm trying to make the tensorflow c library work on raspberry pi3 B+ using the official guide: TensorFlow

when I try to compile with gcc the .c file, the result is:

//usr/local/lib/libtensorflow.so: file not recognized: File format not recognized

collect2: error: ld returned 1 exit status

I don't know now if this can work on raspberry

1
I am having the same problem..I need the C library for ARM but when I look to the available options in tensorflow.org/install/lang_c I cannot find anything for ARM. Did you manage it to work? - Mariano Martinez Peck

1 Answers

2
votes

The page you linked says it's supported on Linux, 64-bit, x86. The Raspberry Pi has an ARM processor, so that library won't work at all.

Did you look at this page? In addition to Raspbian images, it has instructions for cross-compiling from source.