fix Issue 10440

- print a warning and ignore shared library sections

[Issue 10440](http://d.puremagic.com/issues/show_bug.cgi?id=10440)