Incorrect. Most libraries are LGPL, not GPL, and thus you are allowed to create closed-source applications which aren't GPL-licensed. It's only if the apps use GPL-code withing them, or a GPL-licensed library that would make the app itself also GPL. LGPL allows one to link to the library and still retain the original license.