Edward Carraro
2010-Sep-15 16:56 UTC
[Dovecot] Compiling Dovecot 2.0.2 on Solaris 10 SPARC - libssl.so.1.0.0: open failed
I'm trying to compile the source for Dovecot 2.0.2 on a Solaris 10 SPARC machine.> uname -aSunOS ommtca013 5.10 Generic_138888-07 sun4v sparc SUNW,Sun-Blade-T6300 Solaris> cat /etc/releaseSolaris 10 10/08 s10s_u6wos_07b SPARC I've installed the following binaries from sunfreeware for dovecot 1.1 to use with 2.0.2 gcc-3.4.6-sol10-sparc-local ncurses-5.7-sol10-sparc-local libiconv-1.13.1-sol10-sparc-local libintl-3.4.0-sol10-sparc-local nano-2.2.5-sol10-sparc-local gmp-4.2.1-sol10-sparc-local coreutils-8.5-sol10-sparc-local libtool-2.2.6b-sol10-sparc-local openssl-1.0.0a-sol10-sparc-local db-4.7.25.NC-sol10-sparc-local sasl-2.1.21-sol10-sparc-local openldap-2.4.22-sol10-sparc-local zlib-1.2.5-sol10-sparc-local mysql-5.0.67-sol10-sparc-local bzip2-1.0.5-sol10-sparc-local libnet-1.1.2.1-sol10-sparc-local readline-5.2-sol10-sparc-local postgresql-8.4.4-sol10-sparc-local When I compile using:> ./configure --with-ldapor> CPPFLAGS="-I/usr/local/ssl/include" LDFLAGS="-L/usr/local/ssl/lib -ldl"./configure --with-ldap or> CPPFLAGS="-I/usr/local/ssl/include" LDFLAGS="-L/usr/local/ssl/lib -ldl"./configure --with-ldap --with-ssl I get the following error when starting up dovecot: Sep 15 11:34:16 master: Error: service(ssl-params): child 12239 killed with signal 9 Sep 15 11:34:16 master: Error: service(ssl-params): command startup failed, throttling Sep 15 11:34:16 ssl-params: Error: ld.so.1: ssl-params: fatal: libssl.so.1.0.0: open failed: No such file or directory libssl.so.1.0.0 exists in /usr/local/ssl/lib... which is what I've passed in LDFLAGS What parameters am I suppose to pass to configure?
Daryl Richards
2010-Sep-15 17:03 UTC
[Dovecot] Compiling Dovecot 2.0.2 on Solaris 10 SPARC - libssl.so.1.0.0: open failed
On 10-09-15 12:56 PM, Edward Carraro wrote:> I'm trying to compile the source for Dovecot 2.0.2 on a Solaris 10 SPARC > machine.[snip]> I get the following error when starting up dovecot: > > Sep 15 11:34:16 master: Error: service(ssl-params): child 12239 killed with > signal 9 > Sep 15 11:34:16 master: Error: service(ssl-params): command startup failed, > throttling > Sep 15 11:34:16 ssl-params: Error: ld.so.1: ssl-params: fatal: > libssl.so.1.0.0: open failed: No such file or directory > > libssl.so.1.0.0 exists in /usr/local/ssl/lib... which is what I've passed in > LDFLAGS > > What parameters am I suppose to pass to configure? >You may not have /usr/local/ssl/lib in your runtime path. Can you send the output of 'crle'? -- Daryl Richards Isle Technical Services Inc.
Timo Sirainen
2010-Sep-15 17:25 UTC
[Dovecot] Compiling Dovecot 2.0.2 on Solaris 10 SPARC - libssl.so.1.0.0: open failed
On Wed, 2010-09-15 at 12:56 -0400, Edward Carraro wrote:> > libssl.so.1.0.0 exists in /usr/local/ssl/lib... which is what I've > passed in > LDFLAGS > > What parameters am I suppose to pass to configure?I think: LDFLAGS=-R/usr/local/ssl/lib ./configure
Edward Carraro
2010-Sep-15 18:33 UTC
[Dovecot] Compiling Dovecot 2.0.2 on Solaris 10 SPARC - libssl.so.1.0.0: open failed
@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