fix Issue 10440

- print a warning and ignore shared library sections
Merge pull request #531 from dawgfoto/fix10440

fix Issue 10440