[Date Prev][Date Next] [Chronological] [Thread] [Top]

Compile Errors and Undefined References



Let's address the first set of errors first.  I am
attempting to compile against 4.1.25.  I started with
some older db libraries which I have attempted to rm. 
I use the following lines when compiling BerkeleyDB:

../dist/configure
make
make install
ln -s /usr/local/BerkeleyDB.4.1/lib/* /usr/lib
ln -s /usr/local/BerkeleyDB.4.1/include/* /usr/include

Cyrus SASL (2.1.12) I compile with:
./configure --with-dblib=berkeley
--with-bdb-libdir=/usr/local/BerkeleyDB.4.1/lib 
--with-bdb-incdir=/usr/local/BerkeleyDB.4.1/include
--with-openssl=/usr/local/ssl --enable-static
--enable-login --mandir=/usr/share/man
--infodir=/usr/share/info
--with-plugindir=/usr/local/lib/sasl2 --enable-gssapi
--with-des=/usr/local/ssl --with-rc4=/usr/local/ssl
--with-saslauthd=/var/run/saslauthd --enable-anon
--enable-plain --disable-krb4 --with-pam

ln -s /usr/local/lib/sasl2 /usr/lib/sasl2

OpenLDAP (2.1.16) I attempt to compile with:

CPPFLAGS="-I/usr/local/BerkeleyDB.4.1/include"
LDFLAGS="-L/usr/local/BerkeleyDB.4.1/lib" 

./configure --disable-cleartext --disable-rlookups
--with-tls --enable-kpasswd --with-cyrus-sasl
--enable-slapd --enable-crypt --enable-spasswd

-----------------------------------------------------
<Previous Message from "Mike O'Rourke"
<mjoop@curia.op.org> >
-----------------------------------------------------
Hi Daniel,

Re: the first set of errors with BerkeleyDB:
Which version of BerkeleyDB was SASL 2.1.12 compiled
against? Are you
sure it was not 4.0 or 3.x? If it was compiled
dynamicaly, is the old
version still there?

Re: the second set of errors (with gssapi):
OpenLDAP (or, more to the point, your compiler) can't
find your
Kerberos 5 libraries. Are they on your system? If so,
is the path to
them in /etc/ld.so.conf, and put into ld.so.cache with
the ldconfig
command?

Mike

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com