Doing a web search gives this suggestion: try replacing the '-Wl,-rpath,/usr/lib' option in the link command with -Wl,--rpath -Wl,/usr/lib and see if that helps, rroonnaann.
Doing a web search gives this suggestion: try replacing the '-Wl,-rpath, /usr/lib' option in the link command with -Wl,--rpath -Wl,/usr/lib and see if that helps, rroonnaann.