Hi,
I got build error following:
| /bin/sh ../libtool --tag=CC --mode=link cc -std=gnu99 -I/usr/local/include -O2 -fno-strict-aliasing -pipe -DLDAP_DEPRECATED -rpath=/usr/local/lib -rpath=/usr/local/lib -rpath=/usr/local/lib -rpath=/usr/local/lib -o opendkim-genzone opendkim_genzone-config.o opendkim_genzone-opendkim-db.o opendkim_genzone-opendkim-genzone.o opendkim_genzone-opendkim-lua.o opendkim_genzone-util.o ../libopendkim/libopendkim.la -lssl -lcrypto -L/usr/local/lib -lldap
| libtool: link: cc -std=gnu99 -I/usr/local/include -O2 -fno-strict-aliasing -pipe -DLDAP_DEPRECATED -rpath=/usr/local/lib -rpath=/usr/local/lib -rpath=/usr/local/lib -rpath=/usr/local/lib -o .libs/opendkim-genzone opendkim_genzone-config.o opendkim_genzone-opendkim-db.o opendkim_genzone-opendkim-genzone.o opendkim_genzone-opendkim-lua.o opendkim_genzone-util.o ../libopendkim/.libs/libopendkim.so -L/usr/local/lib /usr/ports/mail/opendkim/work/opendkim-2.1.2/libar/.libs/libar.so /usr/local/lib/libldap.so /usr/local/lib/liblber.so /usr/local/lib/libsasl2.so -lssl -lcrypto -pthread -Wl,-rpath -Wl,/var/tmp/opendkim/lib -Wl,-rpath -Wl,/usr/local/lib
| opendkim_genzone-opendkim-db.o(.text+0x2e7a): In function `dkimf_db_open':
| : undefined reference to `db_strerror'
| *** Error code 1
configure arguments were:
--with-milter=/usr --with-openssl=/usr/local --enable-ldap_caching
--with-db --enable-arlib --with-openldap --prefix=/usr/local
When we install Berkeley DB using ports system;
db.h will be placed under /usr/local/include/db*/db.h
# e.g. /usr/local/include/db45/db.h for bdb-4.5
libdb.a will be placed under /usr/local/lib/db*/libdb.a
and LIBS option will be the name with the version number
# e.g. "-ldb-4.5" for bdb-4.5
for side-by-side install.
It seems that current configure script checks for $bdb/include/db.h,
$bdb/lib/libdb.a, and "-ldb".
Is there any workaround or solution for this?
# Is it possible to have some options like: --with-db-incdir,
# --with-db-libdir, --with-db-name
Regards,
--
end
Hirohisa Yamaguchi
umq.461_at_gmail.com
Received on Sun Jul 11 2010 - 20:09:05 PST