Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When starting samba on my FreeBSD machine, I get an error that says

/libexec/ : Shared object "" not found, required by "smbd"

It is essential to say that I somehow "broke" this while updating some other ports using port manager.

Googling around hasn't helped much.

share|improve this question
up vote 3 down vote accepted

If libgcrypt was somehow updated you might need to update all the ports that depends on it (samba might be one of them). Try running:

portupgrade -rf libgcrypt
portmaster -r libgcrypt
share|improve this answer

It is very likely, assuming Samba worked before on the host, that updating another port or package replaced with a later version, while the smbd binary was linked with that specific version. Check if you have a symbolic link pointing to a a different numbered version.

In that case, assuming that the newer version is backward binary compatible, you should be able to to work around this by creating a symbolic link from to the newer version you have. It is however recommended to rebuild Samba with the newer version instead, in case there are any differences in the include files of the library.

Another possibility is that the package containing was uninstalled (due to a new conflict dependency or deprecation), but if Samba was installed from a FreeBSD port, this should have issued a warning.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.