OpenSSH config errors: can't load library 'libdb-4.2.so'
When I try installing new packages, I always get configuration errors for openssh. It claims it can't load library 'libdb-4.2.so' or 'libcrypto.so.0.9.8'. I've searched for the libraries and found it in: /opt/lib. I have the feeling that the configuration scripts are looking in the wrong library folder for the files. What can I do to make it search in the right spot? Is it safe to copy the 2 files from the /opt/lib folder to the /lib folder for a "band-aid" fix? I'll take any suggestions this community can give me. Thanks in advance!
Below is the error I'm getting:
[root@mybook /]# /opt/bin/ipkg install openssh
Package openssh (5.5p1-1) installed in root is up to date.
Configuring openldap
Starting OpenLDAP
/opt/libexec/slapd: can't load library 'libdb-4.2.so'
postinst script returned status 16
ERROR: openldap.postinst returned 16
Configuring openssh
update-alternatives: Linking //opt/bin/scp to /opt/bin/openssh-scp
update-alternatives: Linking //opt/bin/ssh to /opt/bin/openssh-ssh
Generating RSA Key...
/opt/bin/ssh-keygen: can't load library 'libcrypto.so.0.9.8'
Generating RSA Key...
/opt/bin/ssh-keygen: can't load library 'libcrypto.so.0.9.8'
Generating DSA Key...
/opt/bin/ssh-keygen: can't load library 'libcrypto.so.0.9.8'
Fixing permissions on the /tmp directory...
killall: /opt/sbin/sshd: no process killed
/opt/sbin/sshd: can't load library 'libcrypto.so.0.9.8'
postinst script returned status 16
ERROR: openssh.postinst returned 16
Nothing to be done
Successfully terminated.
I'm running the blue-ring edition with a 500GB single hard drive. FW: 01.01.18