Golang编程语言知识介绍


  • 首页

  • todo

  • 思考

  • life

  • food

  • OS

  • lua

  • redis

  • Golang

  • C

  • TCP/IP

  • ebpf

  • p4

  • OpenVPN

  • IPSec

  • L2TP

  • DNS

  • distributed

  • web

  • OpenWRT

  • 运维

  • Git

  • 鸟哥的私房菜

  • IT杂谈

  • 投资

  • About Me

  • 友情链接

  • FTP

  • 搜索
close

ppp2.4 undefined reference to `crypt

时间: 2023-11-22   |   分类: L2TP   PPP     |   阅读: 181 字 ~1分钟

从 https://download.samba.org/pub/ppp/ 下载 2.4.0 版本代码(https://download.samba.org/pub/ppp/ppp-2.4.0.tar.gz)在 Ubuntu 22.04.1 LTS 下编译时,可能会出现类似 /opt/ppp-2.4.0/pppd/auth.c:1141: undefined reference to `crypt 加密库无法找到的报错,解决思路

  • 安装 libcrypt 库
  • 采用更高版本的 ppp 源码(这里采用 2.5.0 版本代码 https://download.samba.org/pub/ppp/ppp-2.5.0.tar.gz,此问题已解决)
#L2TP# #PPP#
Challenge-Handshake Authentication Protocol, CHAP
Captive portal 强制门户
shankusu2017@gmail.com

shankusu2017@gmail.com

日志
分类
标签
GitHub
© 2009 - 2025
粤ICP备2021068940号-1 粤公网安备44011302003059
0%