diff -Nur zorba-2.9.1/src/context/root_static_context.cpp zorba-2.9.1~/src/context/root_static_context.cpp --- zorba-2.9.1/src/context/root_static_context.cpp 2013-05-29 03:47:42.000000000 -0400 +++ zorba-2.9.1~/src/context/root_static_context.cpp 2014-02-25 10:47:01.704314908 -0500 @@ -99,6 +99,8 @@ std::vector& pathsVector) { char* dll_path = getenv(env_var_name); + if (dll_path == NULL) + return; char* str_env = std::strtok(dll_path, ";"); while (str_env !=NULL) {