Report question

Question: Why am I getting "undefined reference to `dladdr'" even with -ldl for this simple program?