It was the "or" that I didn't like (cd _or_ use LD_LIBRARY PATH). Should have been an "and". Windows implicitly adds "." when searching executables or libraries, and a lot of people expect that Linux will behave that way as well. Hence my comment.