Please read my first post again.
the default “configure” is no good. it produces a “makefile” that can’t do shared. that’s why you need to run the sets of commands I mentioned, to create a new/good “configure”, which can produce a good makefile that can do shared.
there is no need to tweak the makefile manually.
Run the commands exactly as I listed. eg: it is “libtoolize -f -c”, NOT “libtool -f -c”.
“libtoolize” is part of the libtool package.
“aclocal” is part of the automake package.
“autoconf” is part of the autoconf package.
All those three packages (libtool, automake, autoconf) can be downloaded from the QOpenCD project site that I mentioned.