./build.sh --prefix ${prefix} tools cg -DEXPAT_LIBRARY=/usr/local/expat/lib/libexpat.a -DEXPAT_INCLUDE_DIR=/usr/local/expat/include -DFFTW3_LIBRARY=/usr/local/fftw/lib/libfftw3.a -DFFTW3_INCLUDE_DIR=/usr/local/fftw/include -DGSL_LIBRARY=/usr/local/gsl/lib/libgsl.a -DGSL_INCLUDE_DIR=/usr/local/gsl/include/ -DGSLCBLAS_LIBRARY=/usr/local/gsl/lib/libgslcblas.a -DSQLITE3_LIBRARY=/usr/local/sqlite/lib/libsqlite3.a -DSQLITE3_INCLUDE_DIR=/usr/local/sqlite/include
Linking CXX shared library libvotca_tools.so
[ 94%] Built target votca_tools
Scanning dependencies of target votca_property
[ 97%] Building CXX object src/tools/CMakeFiles/votca_property.dir/votca_property.cc.o
Linking CXX executable votca_property
../libtools/libvotca_tools.so.3: undefined reference to `dlsym'
../libtools/libvotca_tools.so.3: undefined reference to `dlerror'
../libtools/libvotca_tools.so.3: undefined reference to `dlopen'
../libtools/libvotca_tools.so.3: undefined reference to `dlclose'
collect2: ld returned 1 exit status
make[2]: *** [src/tools/votca_property] Error 1
make[1]: *** [src/tools/CMakeFiles/votca_property.dir/all] Error 2
make: *** [all] Error 2
How to deal with this issue, please? Thanks a lot for any reply.