Created
June 2, 2023 18:53
-
-
Save caot/6c1ebcac00934d9fb88cfeaf06d50b07 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget https://www.openldap.org/software/download/OpenLDAP/openldap-release/openldap-2.4.44.tgz | |
tar vxf openldap-2.4.44.tgz | |
cd openldap-2.4.44 | |
export PKGS=$HOME/apps/openldap-2.4.44 | |
./configure --prefix=$PKGS --enable-shared | |
make depend | |
make | |
make install | |
(py2-xxx) [uid@nlas0059 xxx.git]$ | |
export PKGS=$HOME/apps/openldap-2.4.44 | |
export LD_LIBRARY_PATH=$PKGS/lib:$LD_LIBRARY_PATH | |
export LD_RUN_PATH=$LD_LIBRARY_PATH | |
export LDFLAGS="-L$PKGS/lib" | |
export CPPFLAGS="-I$PKGS/include" | |
export CXXFLAGS=$CPPFLAGS | |
export CFLAGS=$CPPFLAGS | |
pip install python-ldap | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment