Solved ld-elf.so.1: Shared object "libdb-5.3.so.0" not found,

Hello, I use postifx as MTA and got the following error.
How to repair the library misconfiguration?

Code:
Jun 14 15:48:31 postfix/pipe[47254]: 9B8C12D28529: to=<login@login.domain>, orig_to=<user@domain>, relay=login, delay=0.35, delays=0.31/0.01/0/0.02, dsn=2.0.0, status=sent (delivered via login service (ld-elf.so.1: Shared object "libdb-5.3.so.0" not found, required by "sendmail"))
 
On mail/postfix did you enable BDB? If you don't need it you could disable it again, it's off by default. This option pulls in the DB5 dependency. If you do need it check if databases/db5 is installed and up to date.
 
BDB is enabled. I've already used it before. Unfortunately, after reinstallation postfix from ports the issue exists.
 
Finally, it works. I've just installed BD5 from pkg and reinstalled Postfix from ports with BDB enabled.
Thanks.
 
It's good that it works now but it's odd though, it sounds like it doesn't pick up the additional dependency if you enable BDB.
 
Back
Top