Thank-you Brad and Jan for the explanation. It's clear there are some gaps in my knowledge when it comes to building/using shared libraries so thank you for clearing up a misconception I had.