FAQ / Building and Installing / Q0110
| /Q0101 /Q0102 /Q0103 /Q0104 /Q0105 /Q0106 /Q0107 /Q0108 /Q0109 /Q0110 /Q0111 /Q0112 /Q0113 /Q0114 /Q0115 /Q0116 /Q0117 /Q0118 /Q0119 /Q0120 |
Q0110
Question
I'm trying to build Exim with PAM support. I have included -lpam in <small>EXTRALIBS</small>, but I'm still getting a linking error:
/lib/libpam.so: undefined reference to `dlerror' /lib/libpam.so: undefined reference to `dlclose' /lib/libpam.so: undefined reference to `dlopen' /lib/libpam.so: undefined reference to `dlsym'
Answer
Add -ldl to <small>EXTRALIBS</small>. In some systems these dynamic loading functions are in their own library.
| /Q0101 /Q0102 /Q0103 /Q0104 /Q0105 /Q0106 /Q0107 /Q0108 /Q0109 /Q0110 /Q0111 /Q0112 /Q0113 /Q0114 /Q0115 /Q0116 /Q0117 /Q0118 /Q0119 /Q0120 |
FAQ / Building and Installing / Q0110
