>>> Source compiled. >>> Test phase [not enabled]: mail-mta/postfix-2.5.6 >>> Install postfix-2.5.6 into /var/tmp/portage/mail-mta/postfix-2.5.6/image/ category mail-mta bin/postconf: error while loading shared libraries: libssl.so.0.9.7: cannot open shared object file: No such file or directory ...[same shit many times].... postfix-install: Error: "" should be "no" or an absolute path name. * * ERROR: mail-mta/postfix-2.5.6 failed. * Call stack: * ebuild.sh, line 49: Called src_install * environment, line 2805: Called die * The specific snippet of code: * /bin/sh postfix-install -non-interactive install_root="${D}" config_directory="/usr/share/doc/${PF}/defaults" readme_directory="/usr/share/doc/${PF}/readme" || die "postfix-install failed"; ldd /var/tmp/portage/mail-mta/postfix-2.5.6/work/postfix-2.5.6/bin/postconf ........skipped.......... libssl.so.0.9.8 => /usr/lib/libssl.so.0.9.8 (0xb7a5c000) libcrypto.so.0.9.8 => /usr/lib/libcrypto.so.0.9.8 (0xb790f000) libssl.so.0.9.7 => not found libcrypto.so.0.9.7 => not found ........skipped........... either it is build with USE='ssl' or USE='-ssl', result the same: postconf is linked against unexisting library (_AND_ existing too) Something's really wrong with it Reproducible: Always Steps to Reproduce: 1. emerge it Actual Results: postinst cirquit failed, postconf (part of postfix) is linked against unexisting libssl.so.0.9.7, and emerge fails :( Expected Results: :) # pkg-config --modversion openssl 0.9.8j
Please make sure this is not something from /usr/local or somewhere else that gets linked in by accident: find /usr -name 'libssl.so.0.9.7'
Re-open when appropriate
I made a symlink of neede library that points to existing (latest version of libssl) to make postfix emerge. It was a temporary measure to make it work, and it helped. Now I followed your instructions: $ find /usr -name 'libssl.so.0.9.7' /usr/lib/libssl.so.0.9.7 $ ls -l /usr/lib/libssl.so.0.9.7 lrwxrwxrwx 1 root root 24 2009-02-10 08:46 /usr/lib/libssl.so.0.9.7 -> /usr/lib/libssl.so.0.9.8 So, there is NO any other libssl exept of 0.9.8, but postfix is linked against 0.9.7 AND 0.9.8 It is so weird, I just don't understand how can it be?
I can tell you this: They must exist somewhere on your system or they would not have been linked in.
(In reply to comment #4) > I can tell you this: They must exist somewhere on your system or they would not > have been linked in. > I'm 100% sure, there was no such file or symlink anywhere before emerging postfix and there was no such file or symlink after emerge fail. the symlink was made by me to make it emerge somehow.