now, I install openocd manually, in step configure, need ftdi.h, but I just find libftdi1.so.2,
I try to search in / by: sudo find / -name "ftdi.h" , but nothing found.
Did you read what I posted? libftdi-devel-1.5-3.fc36.x86_64 : Header files and static libraries for libftdi
That file is from the libftdi-devel package.