FYI the recommended build is static, prefix directory (non-sudo), and build boost. This is because the linker tends to pick up shared dependencies despite configuration and boost installations vary widely and are often incompatible.
Also, you've got version3, which is the release build but very dated. The SQL project can only apply to version4 (/master). There is no current server build for master, we are working from libbitcoin-node (libbitcoin-server builds on that). There is a similar install.sh. That build has system, network, and database dependencies.
(edited)