I'm trying to build 2.1.3 on solaris 11 11/11 with gcc 4.5.2 & sun studio 12.2 & 12.3
CPPFLAGS="-I/opt/openssl/include -I/usr/mysql/include/mysql"
LDFLAGS="-L/opt/openssl/lib -L/usr/mysql/lib/mysql -R/opt/openssl/lib:/usr/mysql/lib/mysql"
./configure --prefix=/opt/dovecot
--sysconfdir=/etc/opt
--with-ssl=openssl
--with-mysql
make fails with both solaris standard openssl and my build of openssl. I'm also getting the same error using sunstudio mysql version is 5.1.37
The relevant output of make is on pastebin http://pastebin.com/aALHG0yL
I have seen some reference to this with google but nothing thats very recent and no solutions. Anyone know how to get past this? Any tips on building dovecot on solaris? Pointers would be much appreciated.
-- Robert