Where is ftdi.h when I had installed libftdi

I had installed libftdi: sudo dnf install libftdi

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.

who can help me to solve this problem?
thanks.

# dnf provides */ftdi.h
Last metadata expiration check: 2:39:14 ago on Tue 29 Nov 2022 06:14:23 PM CST.
libftdi-devel-1.5-3.fc36.x86_64 : Header files and static libraries for libftdi
Repo        : fedora
Matched from:
Filename    : /usr/include/libftdi1/ftdi.h

1 Like
ls: cannot access '/usr/include/libftdi1/ftdi.h': No such file or directory

this file not exist in this path.

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.

1 Like

you are right, thanks.