Proceeded to link, and saying ld: cannot find -liberty.