undefined reference to `dlclose' `dlopen' `dlsym'

解决的方法是在 ./configure 后面加上参数LDFLAS=‘-ldl’:

  1. make clean  
  2. ./configure LDFLAGS=-ldl 或 LOCAL_LDFLAGS := -ldl 
  3. make  
  4. sudo make install

你可能感兴趣的:(undefined reference to `dlclose' `dlopen' `dlsym')