Skip to content

OpenLDAP

OpenLDAP Software is a free, open source implementation of the Lightweight Directory Access Protocol (LDAP) developed by the OpenLDAP Project. It is released under its own BSD-style license called the OpenLDAP Public License. LDAP is a platform-independent protocol. Several common Linux distributions include OpenLDAP Software for LDAP support. The software also runs on BSD-variants, as well as AIX, Android, HP-UX, Mac OS X, Solaris, Microsoft Windows (NT and derivatives, e.g. 2000, XP, Vista, Windows 7, etc.), and z/OS.

License

OpenLDAP Public License를 참조.

How to compile

우선, Berkeley DB#How To Compile를 컴파일해야 한다. 컴파일 완료 이후 아래와 같이 입력하면 된다.

BDBP_REFIX=/Users/yourname/Programs/db-6.0.20/
./configure CFLAGS="-I$BDBP_REFIX/include/" CPPFLAGS="-I$BDBP_REFIX/include/" LDFLAGS="-L$BDBP_REFIX/lib/"
make depend
make
make install

Troubleshooting

만약 ltdl.h가 존재하지 않을 경우 make depend단계에서 아래와 같은 에러 메세지가 검출될 수 있다.

plugin.c:33:10: fatal error: 'ltdl.h' file not found

이럴 경우 Libtool을 컴파일 해야 한다. 참고로, UnixODBC를 통해 libltdl을 추가할 수 있다.

See also

Favorite site