[Dovecot] Compiling v1.3 on different OSes

Andrés Yacopino ayacopino at acasalud.com.ar
Wed Apr 8 17:51:50 EEST 2009


Timo:

I do it in  Solaris 10 8/07 s10s_u4wos_12b SPARC with gcc (GCC) 3.4.3:

CFLAGS='-mcpu=v9 -mtune=ultrasparc3 -O2 -pipe'

CPPFLAGS=' -I/usr/local/include -I/usr/local/apache/include 
-I/usr/local/BerkeleyDB.4.2/include -I/usr/local/ssl/include/openssl 
-I/usr/local/include/mutils -I/usr/sfw/include -I/usr/include'

LDFLAGS='-L/usr/local/lib -R/usr/local/lib -L/usr/local/apache/lib 
-R/usr/local/apache/lib -L/usr/local/BerkeleyDB.4.2/lib 
-L/usr/local/BerkeleyDB/lib -R/usr/local/BerkeleyDB/lib 
-R/usr/local/BerkeleyDB.4.2/lib -L/usr/local/ssl/lib 
-R/usr/local/ssl/lib -L/usr/local/lib -R/usr/local/lib -L/usr/sfw/lib 
-R/usr/sfw/lib -L/lib -R/lib -L/usr/lib -R/usr/lib'


./configure --with-ldap

make


I get:

Undefined                       first referenced
 symbol                             in file
libiconv_close                      ../lib-dovecot/.libs/libdovecot.so
libiconv_open                       ../lib-dovecot/.libs/libdovecot.so
libiconv                            ../lib-dovecot/.libs/libdovecot.so
ld: fatal: Symbol referencing errors. No output written to 
.libs/dovecot-auth
collect2: ld returned 1 exit status
make[3]: *** [dovecot-auth] Error 1
make[3]: Leaving directory 
`/export/software/dovecot1.3/dovecot-1.3.UNSTABLE/src/auth'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory 
`/export/software/dovecot1.3/dovecot-1.3.UNSTABLE/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory 
`/export/software/dovecot1.3/dovecot-1.3.UNSTABLE'
make: *** [all] Error 2

Is this the version which has been repaired from iconv problems?
Look down your post, i downloaded it from there.

Andrés Fernando Yacopino

Infraestructura - Dpto Sistemas

AcaSalud

Cooperativa de Prestaciones Médico Asistenciales Limitada

Tel: 0341-4208726

ayacopino at acasalud.com.ar



Timo Sirainen escribió:
> On Mon, 2009-04-06 at 14:08 -0400, Timo Sirainen wrote:
>   
>> http://dovecot.org/tmp/dovecot-1.3.UNSTABLE.tar.gz
>>     
>
> OK, updated the URL once more. Now iconv problems should be gone? And
> everyone else is happy with it too? :)
>
>   


More information about the dovecot mailing list