.*: attempted static link of dynamic object `tmpdir/pr24920.so'