add so file
fix function name
add path to unix lib
so lib
add write_log version for unix