If you use a GPL library and don't make the main work GPL you're committing copyright infingement. Your work will never magically become GPL.
That's true -- well, you're obligated to release the work under GPL -- but quite a lot of libraries are LGPL licensed which allows a proprietary application to link to it.