BerkeleyDB는 설치했구요.
LDAP설치하는데 과정중..
...........
./configure --prefix=/usr/local/ldap make depend make
하니까... 잘되더니 아래와 같은 에러가 나네요.
(설치파일:openldap-stable-20030709.tgz, db-4.1.25.tar.gz, redhat7.3)
........................ cd .libs && rm -f libldap.la && ln -s ../libldap.la libldap.la) cc -g -O2 -I../../include -I../../include -I/usr/local/BerkeleyDB.4.1/include/ -c -o apitest.o apitest.c /bin/sh /usr/local/src/openldap-2.1.22/libtool --mode=link cc -static -g -O2 -L/usr/local/BerkeleyDB.4.1/lib/ -o apitest apitest.o libldap.la ../../libraries/liblber/liblber.la ../../libraries/liblutil/liblutil.a -lsasl -lssl -lcrypto -lresolv -ldl libtool: link: warning: library `/usr/lib/libgdbm.la' was moved. cc -g -O2 -o apitest apitest.o -L/usr/local/BerkeleyDB.4.1/lib/ ./.libs/libldap.a /usr/local/src/openldap-2.1.22/libraries/liblber/.libs/liblber.a -L/usr/local/lib ../../libraries/liblber/.libs/liblber.a ../../libraries/liblutil/liblutil.a /usr/lib/libsasl.so /usr/lib/libgdbm.a -lcrypt -lpam -lssl -lcrypto -lresolv -ldl
./.libs/libldap.a(tls.o): In function `tls_report_error': /usr/local/src/openldap-2.1.22/libraries/libldap/tls.c:1594: undefined reference to `ERR_error_string_n' collect2: ld returned 1 exit status make[2]: *** [apitest] Error 1 make[2]: Leaving directory `/usr/local/src/openldap-2.1.22/libraries/libldap' make[1]: *** [all-common] Error 1 make[1]: Leaving directory `/usr/local/src/openldap-2.1.22/libraries' make: *** [all-common] Error 1
고수님들의 도움 바랍니다.
그리고 이렇게 에러 났을때 다시 지우고 새로 해야하나요 ? 아님 그냥 configure하면 다시
엎어서 되는건가요? |