Postfix-2.2.2-r1 is failing to compile completely. The process dies with the following error: >>> Install postfix-2.2.2-r1 into /tmp/portage/postfix-2.2.2-r1/image/ category mail-mta bin/postconf: error while loading shared libraries: liblber.so.2: cannot open shared object file: No such file or directory bin/postconf: error while loading shared libraries: liblber.so.2: cannot open shared object file: No such file or directory bin/postconf: error while loading shared libraries: liblber.so.2: cannot open shared object file: No such file or directory bin/postconf: error while loading shared libraries: liblber.so.2: cannot open shared object file: No such file or directory bin/postconf: error while loading shared libraries: liblber.so.2: cannot open shared object file: No such file or directory bin/postconf: error while loading shared libraries: liblber.so.2: cannot open shared object file: No such file or directory bin/postconf: error while loading shared libraries: liblber.so.2: cannot open shared object file: No such file or directory postfix-install: Error: "" should be "no" or an absolute path name. !!! ERROR: mail-mta/postfix-2.2.2-r1 failed. !!! Function src_install, Line 231, Exitcode 1 !!! postfix-install failed !!! If you need support, post the topmost build error, NOT this status message. liblber.so.2 is located in /usr/lib on my system. I added /usr/lib to /etc/ld.so.conf and ran ldconfig, even though this should not be necessary for /usr/lib. Unfortunately, the same exact error happens even with this change. Thanks for your help Reproducible: Always Steps to Reproduce: 1. run "emerge --update postfix" 2. View the results Actual Results: The following error is produced: >>> Install postfix-2.2.2-r1 into /tmp/portage/postfix-2.2.2-r1/image/ category mail-mta bin/postconf: error while loading shared libraries: liblber.so.2: cannot open shared object file: No such file or directory bin/postconf: error while loading shared libraries: liblber.so.2: cannot open shared object file: No such file or directory bin/postconf: error while loading shared libraries: liblber.so.2: cannot open shared object file: No such file or directory bin/postconf: error while loading shared libraries: liblber.so.2: cannot open shared object file: No such file or directory bin/postconf: error while loading shared libraries: liblber.so.2: cannot open shared object file: No such file or directory bin/postconf: error while loading shared libraries: liblber.so.2: cannot open shared object file: No such file or directory bin/postconf: error while loading shared libraries: liblber.so.2: cannot open shared object file: No such file or directory postfix-install: Error: "" should be "no" or an absolute path name. !!! ERROR: mail-mta/postfix-2.2.2-r1 failed. !!! Function src_install, Line 231, Exitcode 1 !!! postfix-install failed !!! If you need support, post the topmost build error, NOT this status message. Expected Results: Postfix is compiled and installed correctly
Please post your `emerge info` , `emerge postfix -vp` ?
(In reply to comment #1) > Please post your `emerge info` , `emerge postfix -vp` ? As it turns out, the problem is in fact that some libraries changed names or symlinks were destroyed when updating openldap. I simply created the necessary symlinks for liblber.so.2 and openldap.so.2 (I realized openldap.so.2 was not available as well because samba was failing to start and telling me that it was due to a lack of openldap.so.2). I don't know why these symlinks were not there, but this could be a bug with openldap.
close as INVALID then. Please file a new bug WRT openldap if you can reproduce it.