[Dovecot] 1.1beta9 'make' fails on osx/Tiger, but OK on osx/Leopard (multiple definitions of symbol _hash_create)

snowcrash schneecrash+dovecot at gmail.com
Wed Nov 28 18:36:04 EET 2007


> it was not.  now that _you've_ mentioned it, i'll try it and see.

fyi ... this looks better, now.

setenv LDFLAGS "-L/usr/local/db46/lib -L/usr/local/sqlite/lib
-L/usr/local/mysql/lib/mysql -L/usr/local/lib"
setenv LIBS "-liconv"
setenv SQL_LIBS "-lsqlite3"
setenv CPPFLAGS "-I/usr/local/db46/include -I/usr/local/sqlite/include
-I/usr/local/mysql/include/mysql -I/usr/local/include"

./configure \
--config-cache \
--prefix=/usr/local/dovecot \
--with-moduledir=/usr/local/dovecot-plugins \
--with-libiconv-prefix=/usr/local \
--with-ssl=openssl \
--with-ssldir=/var/CERTS \
  --enable-maintainer-mode \
  --disable-debug \
--enable-ipv6 \
--disable-static --enable-shared \
--with-db \
--with-mysql \
--with-sqlite \
--with-ioloop=best \
--with-sql-drivers=mysql,sqlite \
--with-deliver \
--with-pop3d \
--with-storages=maildir,mbox,dbox,cydir,raw


otool -L sbin/dovecot sbin/dovecotpw libexec/dovecot/dovecot-auth

 sbin/dovecot:
	/usr/local/lib/libiconv.2.dylib (compatibility version 7.0.0, current
version 7.0.0)
	/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 111.0.0)

 sbin/dovecotpw:
	/usr/lib/libpam.1.dylib (compatibility version 1.0.0, current version 1.0.0)
	/usr/local/mysql/lib/mysql/libmysqlclient_r.15.dylib (compatibility
version 16.0.0, current version 16.0.0)
	/usr/local/ssl/lib/libssl.0.9.8.dylib (compatibility version 0.9.8,
current version 0.9.8)
	/usr/local/ssl/lib/libcrypto.0.9.8.dylib (compatibility version
0.9.8, current version 0.9.8)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 111.0.0)
	/usr/local/sqlite/lib/libsqlite3.0.dylib (compatibility version
9.0.0, current version 9.6.0)
	/usr/local/lib/libreadline.5.2.dylib (compatibility version 5.0.0,
current version 5.2.0)
	/usr/local/lib/libncurses.5.6.dylib (compatibility version 5.6.0,
current version 5.6.0)
	/usr/local/lib/libz.1.dylib (compatibility version 1.0.0, current
version 1.2.3)
	/usr/local/lib/libiconv.2.dylib (compatibility version 7.0.0, current
version 7.0.0)
	/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)

 libexec/dovecot/dovecot-auth:
	/usr/lib/libpam.1.dylib (compatibility version 1.0.0, current version 1.0.0)
	/usr/local/mysql/lib/mysql/libmysqlclient_r.15.dylib (compatibility
version 16.0.0, current version 16.0.0)
	/usr/local/ssl/lib/libssl.0.9.8.dylib (compatibility version 0.9.8,
current version 0.9.8)
	/usr/local/ssl/lib/libcrypto.0.9.8.dylib (compatibility version
0.9.8, current version 0.9.8)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 111.0.0)
	/usr/local/sqlite/lib/libsqlite3.0.dylib (compatibility version
9.0.0, current version 9.6.0)
	/usr/local/lib/libreadline.5.2.dylib (compatibility version 5.0.0,
current version 5.2.0)
	/usr/local/lib/libncurses.5.6.dylib (compatibility version 5.6.0,
current version 5.6.0)
	/usr/local/lib/libz.1.dylib (compatibility version 1.0.0, current
version 1.2.3)
	/usr/local/lib/libiconv.2.dylib (compatibility version 7.0.0, current
version 7.0.0)
	/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)


(*should* there be any links to -ldb in there?)

cheers!


More information about the dovecot mailing list