I haven't had to deal with this situation, but have you tried setting LD_OPTIONS="-R$ROOT/usr/lib" for the test target? The makefiles for idzebra may have some other way of getting that option into the build, but if not, and they don't zero out LD_OPTIONS, that's one way of stuffing it in. Or use LD_RUN_PATH="$ROOT/usr/lib".
Danek
