back out gdb_dlsym change, check error in compile code