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

IPTRACE

Well-Known Member

Reaction score: 20
Messages: 259

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"))
 

SirDice

Administrator
Staff member
Administrator
Moderator

Reaction score: 7,548
Messages: 30,264

If I'm not mistaken that's a library from databases/db5, I suspect your dependencies are out of sync.
 

SirDice

Administrator
Staff member
Administrator
Moderator

Reaction score: 7,548
Messages: 30,264

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.
 
OP
OP
IPTRACE

IPTRACE

Well-Known Member

Reaction score: 20
Messages: 259

BDB is enabled. I've already used it before. Unfortunately, after reinstallation postfix from ports the issue exists.
 
OP
OP
IPTRACE

IPTRACE

Well-Known Member

Reaction score: 20
Messages: 259

Finally, it works. I've just installed BD5 from pkg and reinstalled Postfix from ports with BDB enabled.
Thanks.
 

SirDice

Administrator
Staff member
Administrator
Moderator

Reaction score: 7,548
Messages: 30,264

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.
 
Top