---------------------------------------------------------
@(#) $OpenLDAP: slapd 2.3.4 (Jul 27 2005 11:29:27) $
joonir@joonir:/home/joonir/openldap-2.3.4/servers/slapd
daemon_init: listen on ldap:///
daemon_init: 1 listeners to open...
ldap_url_parse_ext(ldap:///)
daemon: IPv6 socket() failed errno=97 (Address family not supported
by protocol)
daemon: initialized ldap:///
daemon_init: 2 listeners opened
slapd init: initiated server.
slap_sasl_init: SASL library version mismatch: expected 2.1.18, got
2.1.7
slapd destroy: freeing system resources.
slapd stopped.
connections_destroy: nothing to destroy.
---------------------------------------------------------
위와같이 계속 됩니다. 디버깅해본것입니다. ./slapd -d 113
이상한것은 sasl 2.1.18을 깔았거든요 왜냐면 openldap에서 그것을
요구하거든요
Base system (libraries and tools):
Standard C compiler (required)
Cyrus SASL 2.1.18+ (recommended)
OpenSSL 0.9.7+ (recommended)
POSIX REGEX software (required)
제가 설치한버전과 방법입니다.
-----------------------------------------------------------------
openssl-0.9.7d.tar.gz
cyrus-sasl-2.1.18.tar.gz
db-4.2.52.NC.tar.gz
penldap-2.3.4.tar.gz
cd cyrus-sasl-2.1.18
./configure \
--enable-anon \
--enable-plain \
--enable-login \
--disable-krb4 \
--disable-otp \
--disable-cram \
--disable-digest \
--with-saslauthd=/var/run/saslauthd \
--with-pam=/lib/security \
--with-dblib=berkeley \
--with-bdb-libdir=/usr/local/BerkeleyDB.4.2/lib \
--with-bdb-incdir=/usr/local/BerkeleyDB.4.2/include \
--with-openssl=/usr/local/ssl \
--with-plugindir=/usr/local/lib/sasl2
make
make install
mkdir -p /var/run/saslauthd
cd saslauthd
make testsaslauthd
cp testsaslauthd /usr/local/bin
echo /usr/local/lib/sasl2 >> /etc/ld.so.conf
ln -s /usr/local/lib/sasl2 /usr/lib/sasl2
../dist/configure CC=gcc
--prefix=/usr/local/BerkeleyDB.4.2
make
make install
env CC=gcc CPPFLAGS="-I/usr/local/BerkeleyDB.4.2/include"
LDFLAGS="-L/usr/local/BerkeleyDB.4.2/lib" ./configure --enable-bdb
--prefix=/usr/local/openldap
make depend
make
make test
make install
------------------------------------------------------------------------
Using ldapsearch to retrieve the root DSE...
Waiting 5 seconds for slapd to start...
Waiting 5 seconds for slapd to start...
Waiting 5 seconds for slapd to start...
Waiting 5 seconds for slapd to start...
Waiting 5 seconds for slapd to start...
가 나는 현상이구요 test시...
checking for Berkeley DB link (default)... no
checking for Berkeley DB
link (-ldb42)... no
checking for Berkeley DB
link (-ldb-42)... no
checking for Berkeley DB
link (-ldb-4.2)... no
checking for Berkeley DB
link (-ldb-4-2)... no
checking for Berkeley DB
link (-ldb-4)... no
checking for Berkeley DB
link (-ldb4)... no
checking for Berkeley DB
link (-ldb)... yes
checking for Berkeley DB
thread support... yes
checking Berkeley DB
version for BDB backend... no
configure: error: BDB:
BerkeleyDB version incompatible
는 /usr/lib /usr/include로 복사해서 해결은 했구요
헌데..no는 계속 납니다. 버전은 yes로 되구요
결론은 링크에러 같은데요 아니면 ldconfig로 해결할 수 있는건가요?
아니면
다른 방법좀 알려주십시요
지금 리눅스 3번 밀고 다시 까는중입니다.
꼭 부탁드리겠습니다.
joonir@hanmail.net
|