Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 93010 - Postfix 2.2.2-r1 fails to compile because it can't find liblber.so.2
Summary: Postfix 2.2.2-r1 fails to compile because it can't find liblber.so.2
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-17 18:05 UTC by Mike Case
Modified: 2005-05-17 20:07 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Case 2005-05-17 18:05:12 UTC
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
Comment 1 Tuan Van (RETIRED) gentoo-dev 2005-05-17 18:23:33 UTC
Please post your `emerge info` , `emerge postfix -vp` ?
Comment 2 Mike Case 2005-05-17 19:56:31 UTC
(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.
Comment 3 Tuan Van (RETIRED) gentoo-dev 2005-05-17 20:07:05 UTC
close as INVALID then. Please file a new bug WRT openldap if you can reproduce it.