title: undefined reference to `dlopen' since ubuntu upgrade
body: <p>i experience the undefined reference to `dlopen' problems since I have upgraded to ubuntu 13.10 and gcc 4.8.1.</p>
  
  <p>The makefiles are working for years already. the particular call is</p>
  
  <pre><code>gcc -rdynamic -o ov_dbutil ov_dbutil.o libov.so -ldl
  </code></pre>
  
  <p>The errors are:</p>
  
  <pre><code>libov.so: undefined reference to `dlopen'
  libov.so: undefined reference to `dlclose'
  libov.so: undefined reference to `dlerror'
  libov.so: undefined reference to `dlsym'
  collect2: error: ld returned 1 exit status
  make: *** [ov_dbutil] Error 1
  </code></pre>
  
  <p>is it a gcc problem?</p>
  
  <p>ov_dbutil is compiled with the following lines</p>
  
  <pre><code>gcc -g -Wall -O0 -shared -std=c99 -fno-strict-aliasing   -DPLT_SYSTEM_LINUX=1 -DPLT_USE_BUFFERED_STREAMS=1 -DPLT_SERVER_TRUNC_ONLY=1 -DNDEBUG   -DOV_SYSTEM_LINUX=1    -I../../../plt/include/ -I../../../ks/include/ -I../../include/ -I../../model/ -I../../source/codegen/ -I../../source/builder/ -I../../source/example/ -I../../source/kshist/ -I../../source/dynov/ -I../../source/tasklib/ -I../../source/dbparse/ -I../../source/dbdump/ -I../../../../libml/ -I../../include/runtimeserver/ -I. -c ../../source/dbutil/ov_dbutil.c -o ov_dbutil.o
  </code></pre>
  
  <p>no errors or warnings</p>