typos
add missing dependencies
fix soname
fix order of dependencies
need to link own dependencies first