* Richard Shaw:
I added the following to the libmqttc library and verified -fPIC -pie is in the build flags[1] per the recommendation from the hardening page[2] but the error remains.
Code that is linked into a shared object (with -shared) must be compiled as PIC, not PIE.
Thanks, Florian