check ld configuration