18 May
2006
18 May
'06
3:25 p.m.
Hi,
I'm trying to compile dovecot under Solaris 10 with native Mysql support. Couple changes are needed before configure can detect and compile mysql support. Native Solaris Mysql is installed under /usr/sfw directory. Configure can't find libraries and when these are found -R runtime path is needed for linking. Also if library name is given before library path it can't find it.
These changes are needed for configure script line 29533 for i in /usr /usr/local /usr/local/mysql /usr/sfw; do
line 29548 LIBS="$LIBS -L$MYSQL_LIBDIR -R$MYSQL_LIBDIR"
line 29559 LIBS="$LIBS -lmysqlclient"
line 29770 SQL_LIBS="$SQL_LIBS -L$MYSQL_LIBDIR -R$MYSQL_LIBDIR"
line 29780 LIBS="$LIBS -lmysqlclient"
Tomppa