I am not a lawyer. What I’ve written here is not to be construed as legal advice. Nor am I presenting this information as legal opinion as provided by a lawyer.
I strongly suggest anyone consult a lawyer if they’re really concerned about it.
From the license:
… a “work based on the Program” means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another
language. …
[emphasis added]
also from the license:
You may modify your copy or copies of the Program or any portion
of it, thus forming a work based on the Program,
[emphasis added]
Your interpretation of :
does not appear anywhere within the license, nor can I find any reputable source expressing such an opinion. In fact, it directly contradicted by the GNU GPL FAQ and paragraph 0 as quoted below.
Additionally, from the license:
If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works.
Also:
You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
void, and will automatically terminate your rights under this License.
Again, you are not performing any of the activities here regarding that library, nor is the functionality of your program dependent upon that library.
If a different library were provided that supports the same API, your program would not need to change. (“independent and separate works”)
Finally, from paragraph 0:
Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does.
And again, this makes it explicitly clear that only these three categories cause the license to apply. Since I’m not performing any of these activities, I’m not worried about it.