Problem was in environment. I forgot define macro _FILE_OFFSET_BITS=64 in 32 bit environment. Thanks a lot.