I am not a lawyer, and this can not be a legal advice. With that behind us, IMHO if the code you are linking against is LGPL, you are in the clear. If it is GPL technically it is a problem.
The difference between GPL and LGPL, is that linking against LGPL code, does not trigger the need to share.