I'm trying to compile the source for Dovecot 2.0.2 on a Solaris 10 SPARC machine.
uname -a SunOS ommtca013 5.10 Generic_138888-07 sun4v sparc SUNW,Sun-Blade-T6300 Solaris
cat /etc/release Solaris 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-ldap or 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?