libft4222.so in version 1.4.4.232 explicitly needs ld-linux-x86-64.so.2

see also !29 (comment 2846376461)

Feedback from ftdi's support:
The libft4222 links to threads_posix.o, which will link to ld-linux-x86-64.so.2.

This issue was introduced by libusb 1.0.27 (used in libftd2xx v1.4.31-v1.4.34).

However, the threads_posix.o is extracted from libftd2xx.a.

Therefore, even if libftd2xx.so has already removed the ld-linux-x86-64.so.2 dependency, the libft4222 must also remove ld-linux-x86-64.so.2 dependency as a post-build step.

We have tested several use cases with the libft4222(v1.4.4.232) that removed ld-linux-x86-64.so.2. The functions(SPI/I2C/GPIO) works will.

We have modified the libft4222 (v1.4.4.232) using the following command:

patchelf --remove-needed ld-linux-x86-64.so.2 ./libft4222.so

The attached file has the ld-linux-x86-64.so.2 dependency removed , and we have tested it successfully.