Don't use dladdr() to get a pathname for the current executable().