Hm... I have no idea how LD_LIBRARY_PATH variable can change the behaiviour of pre-processor and fix this "#error No crypto library defined" error. But good to know that you figured it out! Aleksey