MATLAB: Simulation data inspector not working, error “libcef.so: undefined symbol: gtk_widget_get_mapped”

gtk_widget_get_mappedr2015asimulink

We have recently installed R2015a on a new server running SLES-11 SP3. When attempting to start the simulation data inspector in simulink, the following error is issued and the data inspector does not appear.
/tools.suse/mathworks/R2015a//bin//glnxa64//MATLABWindow: symbol lookup error: /tools.suse/mathworks/R2015a/bin/glnxa64/libcef.so: undefined symbol: gtk_widget_get_mapped
Can you advise the solution please (presumably we need a library update?)

Best Answer

Hi Peter,
From the information that you have provided, I am fairly certain that the fault lies with your version of GTK.
The symbol being referenced by libcef here, ‘gtk_widget_get_mapped’, was introduced with GTK 2.20, whereas SLES 11 SP3 bundles GTK 2.18.9 by default. I suggest that you simply grab the newer version of GTK using YaST, or build it yourself by grabbing the source from this link.
With the new version in place this error should no longer hinder your work. Feel free to post your results here if this doesn’t solve the problem.
Regards,
Sumit Tiwari.