I'm trying to install zimbra (zcs-5.0.7_GA_2444.DEBIAN4.0.20080626025055) on Gentoo using chroot
everything ok except:

Code:
Mon Jun 30 07:09:48 2008 *** Running as zimbra user: /opt/zimbra/libexec/zmldapinit
TLS: 00000000: LdapErr: DSID-0C090CF0, comment: Error initializing SSL/TLS, data 0, vece^@
Mon Jun 30 07:10:39 2008 failed. (256)
strace:
Code:
open("/opt/zimbra/openssl-0.9.8g/lib/tls/i686/cmov/libssl.so.0.9.8", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/opt/zimbra/openssl-0.9.8g/lib/tls/i686/cmov", 0xbfed4a08) = -1 ENOENT (No such file or directory)
open("/opt/zimbra/openssl-0.9.8g/lib/tls/i686/libssl.so.0.9.8", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/opt/zimbra/openssl-0.9.8g/lib/tls/i686", 0xbfed4a08) = -1 ENOENT (No such file or directory)
open("/opt/zimbra/openssl-0.9.8g/lib/tls/cmov/libssl.so.0.9.8", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/opt/zimbra/openssl-0.9.8g/lib/tls/cmov", 0xbfed4a08) = -1 ENOENT (No such file or directory)
open("/opt/zimbra/openssl-0.9.8g/lib/tls/libssl.so.0.9.8", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/opt/zimbra/openssl-0.9.8g/lib/tls", 0xbfed4a08) = -1 ENOENT (No such file or directory)
open("/opt/zimbra/openssl-0.9.8g/lib/i686/cmov/libssl.so.0.9.8", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/opt/zimbra/openssl-0.9.8g/lib/i686/cmov", 0xbfed4a08) = -1 ENOENT (No such file or directory)
open("/opt/zimbra/openssl-0.9.8g/lib/i686/libssl.so.0.9.8", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/opt/zimbra/openssl-0.9.8g/lib/i686", 0xbfed4a08) = -1 ENOENT (No such file or directory)
open("/opt/zimbra/openssl-0.9.8g/lib/cmov/libssl.so.0.9.8", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/opt/zimbra/openssl-0.9.8g/lib/cmov", 0xbfed4a08) = -1 ENOENT (No such file or directory)
open("/opt/zimbra/openssl-0.9.8g/lib/libssl.so.0.9.8", O_RDONLY) = 5
read(5, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0@\264\0"..., 512) = 512
fstat64(5, {st_mode=S_IFREG|0555, st_size=1243891, ...}) = 0
mmap2(NULL, 261016, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 5, 0) = 0xb7ccd000
mmap2(0xb7d09000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 5, 0x3b) = 0xb7d09000
close(5)                                = 0
open("/opt/zimbra/openssl-0.9.8g/lib/libcrypto.so.0.9.8", O_RDONLY) = 5
read(5, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0@`\3\000"..., 512) = 512
fstat64(5, {st_mode=S_IFREG|0555, st_size=4604410, ...}) = 0
mmap2(NULL, 1316888, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 5, 0) = 0xb7b8b000
mmap2(0xb7cb5000, 86016, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 5, 0x129) = 0xb7cb5000
mmap2(0xb7cca000, 10264, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7cca000
mprotect(0xbfed5000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC|PROT_GROWSDOWN) = 0
close(5)                                = 0
open("/opt/zimbra/openssl-0.9.8g/lib/libz.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=8462, ...}) = 0
mmap2(NULL, 8462, PROT_READ, MAP_PRIVATE, 5, 0) = 0xb7f62000
close(5)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/usr/lib/libz.so.1", O_RDONLY)    = 5
read(5, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340\26"..., 512) = 512
fstat64(5, {st_mode=S_IFREG|0644, st_size=78500, ...}) = 0
mmap2(NULL, 81456, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 5, 0) = 0xb7b77000
mmap2(0xb7b8a000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 5, 0x12) = 0xb7b8a000
close(5)                                = 0
munmap(0xb7f62000, 8462)                = 0
brk(0x856c000)                          = 0x856c000
stat64("/opt/zimbra/zimbramon/lib/i486-linux-gnu-thread-multi/Scalar/Util.pmc", 0xbfed517c) = -1 ENOENT (No such file or directory)
stat64("/opt/zimbra/zimbramon/lib/i486-linux-gnu-thread-multi/Scalar/Util.pm", {st_mode=S_IFREG|0444, st_size=9079, ...}) = 0
open("/opt/zimbra/zimbramon/lib/i486-linux-gnu-thread-multi/Scalar/Util.pm", O_RDONLY|O_LARGEFILE) = 5
ioctl(5, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfed4e98) = -1 ENOTTY (Inappropriate ioctl for device)
_llseek(5, 0, [0], SEEK_CUR)            = 0
read(5, "# Scalar::Util.pm\n#\n# Copyright "..., 4096) = 4096
_llseek(5, 3388, [3388], SEEK_SET)      = 0
_llseek(5, 0, [3388], SEEK_CUR)         = 0
close(5)                                = 0
stat64("/opt/zimbra/zimbramon/lib/i486-linux-gnu-thread-multi/List/Util.pmc", 0xbfed517c) = -1 ENOENT (No such file or directory)
stat64("/opt/zimbra/zimbramon/lib/i486-linux-gnu-thread-multi/List/Util.pm", {st_mode=S_IFREG|0444, st_size=7088, ...}) = 0
open("/opt/zimbra/zimbramon/lib/i486-linux-gnu-thread-multi/List/Util.pm", O_RDONLY|O_LARGEFILE) = 5
ioctl(5, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfed4e98) = -1 ENOTTY (Inappropriate ioctl for device)
_llseek(5, 0, [0], SEEK_CUR)            = 0
read(5, "# List::Util.pm\n#\n# Copyright (c"..., 4096) = 4096
_llseek(5, 1910, [1910], SEEK_SET)      = 0
_llseek(5, 0, [1910], SEEK_CUR)         = 0
close(5)                                = 0
stat64("/opt/zimbra/zimbramon/lib/i486-linux-gnu-thread-multi/auto/List/Util/Util.so", {st_mode=S_IFREG|0555, st_size=42356, ...}) = 0
stat64("/opt/zimbra/zimbramon/lib/i486-linux-gnu-thread-multi/auto/List/Util/Util.bs", {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
open("/opt/zimbra/zimbramon/lib/i486-linux-gnu-thread-multi/auto/List/Util/Util.so", O_RDONLY) = 5
read(5, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 \35\0\000"..., 512) = 512
fstat64(5, {st_mode=S_IFREG|0555, st_size=42356, ...}) = 0
mmap2(NULL, 39048, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 5, 0) = 0xb7b6d000
mmap2(0xb7b76000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 5, 0x8) = 0xb7b76000
close(5)                                = 0
stat64("/opt/zimbra/zimbramon/lib/i486-linux-gnu-thread-multi/auto/Net/SSLeay/randomize.al", {st_mode=S_IFREG|0444, st_size=1026, ...}) = 0
getgroups32(0, NULL)                    = 4
getgroups32(4, [4, 5, 102, 103])        = 4
stat64("/opt/zimbra/zimbramon/lib/i486-linux-gnu-thread-multi/auto/Net/SSLeay/randomize.al", {st_mode=S_IFREG|0444, st_size=1026, ...}) = 0
open("/opt/zimbra/zimbramon/lib/i486-linux-gnu-thread-multi/auto/Net/SSLeay/randomize.al", O_RDONLY|O_LARGEFILE) = 5
ioctl(5, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfed4ed8) = -1 ENOTTY (Inappropriate ioctl for device)
_llseek(5, 0, [0], SEEK_CUR)            = 0
read(5, "# NOTE: Derived from blib/lib/Ne"..., 4096) = 1026
brk(0x858d000)                          = 0x858d000
read(5, "", 4096)                       = 0
close(5)                                = 0
stat64("/dev/urandom", {st_mode=S_IFCHR|0666, st_rdev=makedev(1, 9), ...}) = 0
getgroups32(0, NULL)                    = 4
getgroups32(4, [4, 5, 102, 103])        = 4
stat64("", 0x814e0c8)                   = -1 ENOENT (No such file or directory)
stat64("/dev/urandom", {st_mode=S_IFCHR|0666, st_rdev=makedev(1, 9), ...}) = 0
getgroups32(0, NULL)                    = 4
getgroups32(4, [4, 5, 102, 103])        = 4
stat64("/dev/urandom", {st_mode=S_IFCHR|0666, st_rdev=makedev(1, 9), ...}) = 0
open("/dev/urandom", O_RDONLY)          = 5
read(5, "\177q\303\1\315\331\\\306\236\203\337rig\317\342U\23\23"..., 64) = 64
close(5)                                = 0
read(4, "rl\' => 0,\n\t \'SSL_version\'   => \'"..., 4096) = 4096
read(4, "nnect attempt failed with unknow"..., 4096) = 4096
read(4, "return $socket->error(\"SSL fileh"..., 4096) = 4096
read(4, "fset>$buf_len);\n    return 0 if "..., 4096) = 4096
brk(0x85ae000)                          = 0x85ae000
read(4, "t\'}) {\n\tmy $shutdown_done;\n\tif ("..., 4096) = 4096
read(4, "ket::INET->new_from_fd($fd, \'+<\'"..., 4096) = 4096
brk(0x85cf000)                          = 0x85cf000
read(4, "t::SSL::SSL_HANDLE;\nuse strict;\n"..., 4096) = 4096
read(4, "st with\n\t    # a chain of certif"..., 4096) = 4096
read(4, "::SSLeay::SESSION_free($last->{s"..., 4096) = 4096
read(4, "rt_file\n\nIf your SSL certificate"..., 4096) = 4096
read(4, "ze\n\nIf you make repeated connect"..., 4096) = 4096
read(4, "r certificate.  This function re"..., 4096) = 4096
read(4, "ted (not to mention futile!) and"..., 4096) = 4096
read(4, "ocket_to_SSL()\n\nuse IO::Socket::"..., 4096) = 4096
read(4, "ll not need anything unless the "..., 4096) = 238
read(4, "", 4096)                       = 0
close(4)                                = 0
stat64("/opt/zimbra/zimbramon/lib/i486-linux-gnu-thread-multi/Net/LDAP/Extension.pmc", 0xbfed560c) = -1 ENOENT (No such file or directory)
stat64("/opt/zimbra/zimbramon/lib/i486-linux-gnu-thread-multi/Net/LDAP/Extension.pm", 0xbfed551c) = -1 ENOENT (No such file or directory)
stat64("/opt/zimbra/zimbramon/lib/Zimbra/DB/Net/LDAP/Extension.pmc", 0xbfed560c) = -1 ENOENT (No such file or directory)
stat64("/opt/zimbra/zimbramon/lib/Zimbra/DB/Net/LDAP/Extension.pm", 0xbfed551c) = -1 ENOENT (No such file or directory)
stat64("/opt/zimbra/zimbramon/lib/Zimbra/Mon/Net/LDAP/Extension.pmc", 0xbfed560c) = -1 ENOENT (No such file or directory)
stat64("/opt/zimbra/zimbramon/lib/Zimbra/Mon/Net/LDAP/Extension.pm", 0xbfed551c) = -1 ENOENT (No such file or directory)
stat64("/opt/zimbra/zimbramon/lib/Zimbra/SOAP/Net/LDAP/Extension.pmc", 0xbfed560c) = -1 ENOENT (No such file or directory)
stat64("/opt/zimbra/zimbramon/lib/Zimbra/SOAP/Net/LDAP/Extension.pm", 0xbfed551c) = -1 ENOENT (No such file or directory)
stat64("/opt/zimbra/zimbramon/lib/i486-linux-gnu-thread-multi/Net/LDAP/Extension.pmc", 0xbfed560c) = -1 ENOENT (No such file or directory)
stat64("/opt/zimbra/zimbramon/lib/i486-linux-gnu-thread-multi/Net/LDAP/Extension.pm", 0xbfed551c) = -1 ENOENT (No such file or directory)
stat64("/opt/zimbra/zimbramon/lib/Net/LDAP/Extension.pmc", 0xbfed560c) = -1 ENOENT (No such file or directory)
stat64("/opt/zimbra/zimbramon/lib/Net/LDAP/Extension.pm", {st_mode=S_IFREG|0444, st_size=661, ...}) = 0
open("/opt/zimbra/zimbramon/lib/Net/LDAP/Extension.pm", O_RDONLY|O_LARGEFILE) = 4
ioctl(4, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfed5328) = -1 ENOTTY (Inappropriate ioctl for device)
_llseek(4, 0, [0], SEEK_CUR)            = 0
read(4, "# Copyright (c) 1998-2004 Graham"..., 4096) = 661
read(4, "", 4096)                       = 0
close(4)                                = 0
write(3, "0\35\2\1\1w\30\200\0261.3.6.1.4.1.1466.20037", 31) = 31
read(3, "0\204", 2)                     = 2
read(3, "\0\0\0|", 4)                   = 4
read(3, "\2\1\1x\204\0\0\0s\n\0014\4\0\4T00000000: LdapEr"..., 124) = 124
brk(0x85f0000)                          = 0x85f0000
write(2, "TLS: 00000000: LdapErr: DSID-0C0"..., 90TLS: 00000000: LdapErr: DSID-0C090CF0, comment: Error initializing SSL/TLS, data 0, vece
) = 90
close(3)                                = 0
close(6)                                = 0
exit_group(1)                           = ?
Process 24281 detached
Code:
cat /etc/debian_version
4.0
how to fix it?