[Dovecot] Compiling Dovecot 2.0.2 on Solaris 10 SPARC - libssl.so.1.0.0: open failed
Daryl Richards
daryl at isletech.net
Wed Sep 15 22:18:11 EEST 2010
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 10-09-15 2:33 PM, Edward Carraro wrote:
> @Daryl
>
> crle output:
>
> Default configuration file (/var/ld/ld.config) not found
> Default Library Path (ELF): /lib:/usr/lib (system default)
> Trusted Directories (ELF): /lib/secure:/usr/lib/secure (system default)
>
> @Tim
> compiled with:
>
> CPPFLAGS="-I/usr/local/ssl/include" LDFLAGS="-L/usr/local/ssl/lib
> -R/usr/local/ssl/lib -ldl" ./configure --with-ldap --with-ssl
>
> It now starts without any errors, however when I try to telnet localhost
> 143, it closes the connection right away
>
> The error log now shows:
>
> Sep 15 13:55:19 imap-login: Error: ld.so.1: imap-login: fatal:
> libgcc_s.so.1: open failed: No such file or directory
> Sep 15 13:55:19 master: Error: service(imap-login): child 21491 killed with
> signal 9
> Sep 15 13:55:19 master: Error: service(imap-login): command startup failed,
> throttling
>
>
> More info (if needed)
>
> dump -Lv /usr/local/sbin/dovecot:
>
> **** DYNAMIC SECTION INFORMATION ****
> .dynamic:
> [INDEX] Tag Value
> [1] NEEDED libdovecot.so.0
> [2] NEEDED libdl.so.1
> [3] NEEDED libiconv.so.2
> [4] NEEDED libnsl.so.1
> [5] NEEDED libsocket.so.1
> [6] NEEDED librt.so.1
> [7] NEEDED libsendfile.so.1
> [8] NEEDED libc.so.1
> [9] INIT 0x1a400
> [10] FINI 0x1a41c
> [11] RUNPATH
> /usr/local/lib/dovecot:/usr/local/lib:/usr/local/ssl/lib
> [12] RPATH
> /usr/local/lib/dovecot:/usr/local/lib:/usr/local/ssl/lib
> [13] HASH 0x100e8
> [14] STRTAB 0x118e0
> [15] STRSZ 0xece
> [16] SYMTAB 0x108f0
> [17] SYMENT 0x10
> [18] CHECKSUM 0x6301
> [19] VERNEED 0x127b0
> [20] VERNEEDNUM 0x3
> [21] PLTSZ 0x7e0
> [22] PLTREL 0x7
> [23] JMPREL 0x128b8
> [24] RELA 0x12810
> [25] RELASZ 0x888
> [26] RELAENT 0xc
> [27] DEBUG 0
> [28] FEATURE_1 PARINIT
> [29] FLAGS 0
> [30] FLAGS_1 0
> [31] PLTGOT 0x2cd9c
>
> ---
>
> ldd /usr/local/sbin/dovecot
> libdovecot.so.0 => /usr/local/lib/dovecot/libdovecot.so.0
> libdl.so.1 => /lib/libdl.so.1
> libiconv.so.2 => /usr/local/lib/libiconv.so.2
> libnsl.so.1 => /lib/libnsl.so.1
> libsocket.so.1 => /lib/libsocket.so.1
> librt.so.1 => /lib/librt.so.1
> libsendfile.so.1 => /lib/libsendfile.so.1
> libc.so.1 => /lib/libc.so.1
> libgcc_s.so.1 => /usr/sfw/lib/libgcc_s.so.1
> libmp.so.2 => /lib/libmp.so.2
> libmd.so.1 => /lib/libmd.so.1
> libscf.so.1 => /lib/libscf.so.1
> libaio.so.1 => /lib/libaio.so.1
> libdoor.so.1 => /lib/libdoor.so.1
> libuutil.so.1 => /lib/libuutil.so.1
> libgen.so.1 => /lib/libgen.so.1
> libm.so.2 => /lib/libm.so.2
> /platform/SUNW,Sun-Blade-T6300/lib/libc_psr.so.1
> /platform/SUNW,Sun-Blade-T6300/lib/libmd_psr.so.1
>
The file that is now failing is actually
/usr/local/libexec/dovecot/imap-login
Here's mine:
/usr/local/libexec/dovecot/imap-login:
**** DYNAMIC SECTION INFORMATION ****
.dynamic:
[INDEX] Tag Value
[1] NEEDED libdovecot-login.so.0
[2] NEEDED libdovecot.so.0
[3] NEEDED libssl.so.0.9.8
[4] NEEDED libcrypto.so.0.9.8
[5] NEEDED libnsl.so.1
[6] NEEDED libsocket.so.1
[7] NEEDED librt.so.1
[8] NEEDED libsendfile.so.1
[9] NEEDED libc.so.1
[10] INIT 0x8054380
[11] FINI 0x80543a0
[12] RUNPATH
/usr/local/lib/dovecot:/usr/ccs/lib:/lib:/usr/lib:/usr/sfw/lib
[13] RPATH
/usr/local/lib/dovecot:/usr/ccs/lib:/lib:/usr/lib:/usr/sfw/lib
[14] HASH 0x805015c
[15] STRTAB 0x8050f40
[16] STRSZ 0xc21
[17] SYMTAB 0x8050740
[18] SYMENT 0x10
[19] SUNW_SYMTAB 0x8050560
[20] SUNW_SYMSZ 0x9e0
[21] SUNW_SORTENT 0x4
[22] SUNW_SYMSORT 0x8051ca4
[23] SUNW_SYMSORTSZ 0xbc
[24] CHECKSUM 0xb69a
[25] VERNEED 0x8051b64
[26] VERNEEDNUM 0x1
[27] PLTSZ 0x2a8
[28] PLTREL 0x11
[29] JMPREL 0x8051db8
[30] REL 0x8051d60
[31] RELSZ 0x300
[32] RELENT 0x8
[33] DEBUG 0
[34] FEATURE_1 PARINIT
[35] SUNW_CAP 0x8050128
[36] FLAGS 0
[37] FLAGS_1 0
[38] SUNW_STRPAD 0x200
[39] SUNW_LDMACH EM_AMD64
[40] PLTGOT 0x8064bfc
daryl at server:~/dovecot-2.0.2$ ldd /usr/local/libexec/dovecot/imap-login
libdovecot-login.so.0 =>
/usr/local/lib/dovecot/libdovecot-login.so.0
libdovecot.so.0 => /usr/local/lib/dovecot/libdovecot.so.0
libssl.so.0.9.8 => /lib/libssl.so.0.9.8
libcrypto.so.0.9.8 => /lib/libcrypto.so.0.9.8
libnsl.so.1 => /lib/libnsl.so.1
libsocket.so.1 => /lib/libsocket.so.1
librt.so.1 => /lib/librt.so.1
libsendfile.so.1 => /lib/libsendfile.so.1
libc.so.1 => /lib/libc.so.1
libgcc_s.so.1 => /usr/sfw/lib/libgcc_s.so.1
libmp.so.2 => /lib/libmp.so.2
libmd.so.1 => /lib/libmd.so.1
libscf.so.1 => /lib/libscf.so.1
libuutil.so.1 => /lib/libuutil.so.1
libgen.so.1 => /lib/libgen.so.1
libsmbios.so.1 => /usr/lib/libsmbios.so.1
libm.so.2 => /lib/libm.so.2
Note, I am comparing this to an x86 box, not Sparc. I have S10 on an old
E250, I will fire it up and see what happens.
- --
Daryl Richards
Isle Technical Services Inc.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkyRG/IACgkQbMWpShDgLrVkvgCgqYxlXMZaTD9xQfWXkiB1UwQK
HFMAmgMuHs29aVwBOPyBt88j0t+4kSno
=p+wL
-----END PGP SIGNATURE-----
More information about the dovecot
mailing list