This seems to be a known problem in KDE. The solution
(which worked for me) is to edit kdemacros.h and modify
as follows:
#define KDE_EXPORT attribute ((visibility("visible")))
becomes:
#define KDE_EXPORT attribute ((visibility("default")))
Please advise if there are more correct or elegant solutions.
Andrew