Shared Library in GNU Radio - undefined symbol: mclinitializeApplication_proxy


I think that my problem may be similar to that in:

I have compiled some simple code as a shared library in MATLAB, and am
trying to run it within GNU Radio.

I can make, and install the code without any problem.

However, when I use the block in GNU Radio, I get an error related to

22, in swig_import_helper _mod =
ImportError: /usr/local/lib/

In Need help with gr how to create a signal processing block template - GNU Radio - Ruby-Forum, there is discussion on how
to use automake and _LIBADD, however I am not clear how this relates to
cmake and the ‘CMakeLists.txt’

Any help would be most gratefully accepted - let me know if I can
provide any more information.