Could you paste the contents of /etc/dmd.conf ? You'd have to make sure the libevent.so and libevent_pthreads.so are in the path specified in there, it looks like the linker still can't find it