problem with libftdi under linux

Hello

Im using JTAG programer with ft2232d chip. When I compile openocd with libftdi, always after few run oocdlink program from script i give error messages:

rror: 3 1204222009 jtag.c:1381 jtag_init(): trying to validate configured JTAG chain anyway…

Error: 4 1204222009 jtag.c:1285 jtag_validate_chain(): Error validating JTAG scan chain, IR mismatch, scan returned 0x00

After this error, JTAG stop work, and I must unplug and plug JTAG adapter from usb, after this step JTAG work AGAIN, but only for few openocd call.

When I recompiled openocd with ftd2xx properitialy driver this problem never occurs.

Can anybody know about this problem? Im using 64-bit platform

Regards

Lucck