try setting LD_LIBRARY_PATH