There are lots of duplicate symbol when linking statically to of (with OF_STATIC=ON) and dynamically to Gstreamer.
The duplicate symbols are in libpcre with is used both by Gstreamer and Poco.
One workaround is to unbundle Poco library and use system libraries instead of the one shipped with Poco.
To do so configure with : cmake -DPOCO_UNBUNDLED=ON ../of