how to build OpenOCD

Hello everyone,

I 'trying to build OpenOCD, and I need the libftd2xx0. but I 'm not root in cip in my university, could someone please tell me, how can I install the libftd2xx0 without root.

according to ./configure --help:

–libdir=DIR object code libraries [EPREFIX/lib]

Never tried this but…

Put the library file in ~/lib

Pass “–libdir=~/lib” as an arg to ./configure

you may need to pass the variable LD_LIBRARY_PATH at runtime:

LD_LIBRARY_PATH=~/lib openocd <args> 
```[/code]