I'm using binary packages on a group af Gentoo-machines.
With 'ldap' in the USE-flags, pine does not see 'openldap' as a RDEPEND and only install net-nds/openldap on the host _building_ the packages. Hence pine only work on the buildhost. On the client-machines, I just get:
client > pine
pine: error while loading shared libraries: libldap.so.2: cannot open shared object file: No such file or directory
Reproducible: Always
Steps to Reproduce:
1. On buildhost: emerge -bav pine
2. On clients: emerge -gK pine
3. pine
Actual Results:
app-0 > pine
pine: error while loading shared libraries: libldap.so.2: cannot open shared
object file: No such file or directory
Expected Results:
pine starting and a list of new mails.
I reported a similar problem with mutt: http://bugs.gentoo.org/show_bug.cgi?id=60134