Hi all, I have a module that dlopens a .so, gets a handle to a function in the so and calls it. The function in the so calls ap_rputs. dlopen returns the error 'undefined symbol ap_rputs'.
nm tells me ap_rputs is defined in httpd, and via some dark magic, httpd symbols are available to modules compiles the apxs -c. But when I compile my .so to be loaded into my module, the symbols from httpd aren't available. My hypothesis, now disproven, was that symbols available to my module would be visible to my .so. Does anyone have any insight into this process? How do modules resolve symbols from httpd, while my .so cannot? -Mark