I've got a small open source program which compiles as a shared module for apache, but when apache tries to load it, it refuses to load, complaining about: "undefined symbol: ap_log_rerror".
Running ldd
on the shared libraries generates a list of about a dozen dependencies, so these are the ones where I know the function is NOT defined. How do I go about finding which library provides this function?
My question isn't how to list symbols - I know how to do this with nm. My question is where to find the file that contains the symbol I want? Is there any efficient, easy way to identify the right file?
update: I worked around this by recompiling my program. So it loads now, although my core question remains unanswered.