Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

At the server I installed openldap-server, at this computer open-ldap client has already been installed. Version of openldap-client (2.4.16) was older then new openldap-server (2.4.21) and the version of client has updated too. OpenLDAP-client works with postfix on this server and after all updates postfix cann't start again. The error when postfix stop|start is:

/libexec/ Shared object "" not found, required by "postfix"

At the category with libraries is, but is removed from the server. When I want to deinstall curently version of openldap-client, system write

===>  Deinstalling for net/openldap24-client 

O.K., but when I start "make install" system write:
===>  Installing for openldap-sasl-client-2.4.23
===>   openldap-sasl-client-2.4.23 depends on shared library: sasl2.2 - found
===>   Generating temporary packing list
===>  Checking if net/openldap24-client already installed
===>   An older version of net/openldap24-client is already installed (openldap-client-2.4.21)
      You may wish to ``make deinstall'' and install this port again
      by ``make reinstall'' to upgrade it properly.
      If you really wish to overwrite the old port of net/openldap24-client
      without deleting it first, set the variable "FORCE_PKG_REGISTER"
      in your environment or the "make install" command line.
*** Error code 1

Stop in /usr/ports/net/openldap24-client.
*** Error code 1

Stop in /usr/ports/net/openldap24-client.

Updating of ports doesn't help, and postfix writes error:

/libexec/ Shared object "" not found, required by "postfix"

share|improve this question
up vote 3 down vote accepted

You upgraded your OpenLDAP client, which deleted the old version of the shared library. Postfix was built and linked against that old version of the shared library, and since it no longer exists Postfix can't start.

Re-compile postfix (which will cause it to link against the new version of the library) and this problem will go away.

In the future you can avoid problems like this by using portupgrade (check out the -r flag, which will recursively re-build packages that depend on the one being upgraded).

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.