如何在没有 libpam 的情况下构建 openvpn?

如何在没有 libpam 的情况下构建 openvpn?

由于我没有安装 libpam 的 root 权限,因此无法运行./configure。那么,有没有什么方法可以在没有 libpam 的情况下构建 openvpn?

checking for OPENSSL_CRYPTO... yes
checking for OPENSSL_SSL... yes
checking for EVP_CIPHER_CTX_set_key_length... yes
checking for ENGINE_load_builtin_engines... yes
checking for ENGINE_register_all_complete... yes
checking for ENGINE_cleanup... yes
checking for ssl_init in -lpolarssl... no
checking for aes_crypt_cbc in -lpolarssl... no
checking for lzo1x_1_15_compress in -llzo2... no
checking for lzo1x_1_15_compress in -llzo... no
checking for PKCS11_HELPER... no
checking git checkout... yes
configure: error: libpam required but missing

而且,为什么我不能禁用 libpam 选项?

[mirror@innov openvpn]$ ./configure --help | grep libpam
  --enable-pam-dlopen     dlopen libpam [default=no]
              C compiler flags for libpam
  LIBPAM_LIBS linker flags for libpam

答案1

尝试在配置步骤禁用 PAM:

./configure --disable-plugin-auth-pam

相关内容