Classes nested in namespace

Removing the namespace , the .C works.
I found several discussions on the issue (some quite old, but I guess relevant)

And from one answer I found that if the lib contains a class without a namespace , loading the class will load the library. But since namespaces can span multiple libraries, that is why they don’t cause automatic loading of the library and thus the above error.
Anyone having other information?