Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8621

Raspberry Pi OS • Re: libgpiod-dev in Trixie is not compatbile glibc v2.41

$
0
0
A native build of the following compiles/links/runs without issue. It sounds like you may have an issue with your cross-compilation environment.

Code:

#include <gpiod.h>#include <stdio.h>int main() {    puts(gpiod_api_version());    return 0;}

Code:

$ gcc test.c -lgpiod$ ./a.out2.2.1$ readelf --wide --dyn-syms a.out | awk 'NR>3 && /GLIBC/{print $8}'__libc_start_main@GLIBC_2.34__cxa_finalize@GLIBC_2.17abort@GLIBC_2.17puts@GLIBC_2.17

Statistics: Posted by roliver — Wed Jan 07, 2026 12:04 pm



Viewing all articles
Browse latest Browse all 8621

Trending Articles