FreeBSD Recreate /var/run/ file

I‘ve typed ldconfig -v (Linux like command) under FreeBSD 7.1_P4_64 bit to get list of directories used by system. But I lost all my configuration and getting shared object not found errors for almost all commands such as vim or bash and so on. How do I fix this problem without rebooting the system?