Distributions
› Ubuntu
› Fedora
› CentOS
中文资源站
› 网易开源镜像站
ClancyH
V2EX  ›  Linux

求问 ubuntu18.0.4 不能下载 libgd2-xpm

  •  
  •   ClancyH · Mar 8, 2019 · 5415 views
    This topic created in 2798 days ago, the information mentioned may be changed or developed.
    nginx1.14.0 编译时需要 GD library 的支持,但是执行 sudo apt-get install libgd2-xpm 返回结果是 Unable to locate package libgd2-xpm,apt 源用的是阿里源。
    7 replies  •  2019-03-08 16:21:57 +08:00
    shuizhongyu10
    shuizhongyu10
    Mar 8, 2019❤️1
    1
    源里没有就自己下载编译安装呗
    shuizhongyu10
    shuizhongyu10
    Mar 8, 2019
    2
    你要装的是这个?
    libgdchart-gd2-xpm/bionic 0.11.5-10 amd64
    Generate graphs using the GD library
    ClancyH
    ClancyH
    OP
    Mar 8, 2019
    3
    @shuizhongyu10 网上资料是 16.0.4 的对应的是 libgd2-xpm,不是这个应该,我刚才试了 libgdchart-gd2-xpm 安装之后,nginx 编译还是同样的问题:error: the HTTP image filter module requires the GD library.
    julyclyde
    julyclyde
    Mar 8, 2019❤️1
    4
    @ClancyH 编译的时候要的是-dev 包
    ClancyH
    ClancyH
    OP
    Mar 8, 2019
    5
    @julyclyde libgd2-xpm-dev 这个也是同样的 Unable to locate package
    7654
    7654
    Mar 8, 2019❤️1
    6
    18.04 libgd3
    https://packages.ubuntu.com 找包名很管用
    ClancyH
    ClancyH
    OP
    Mar 8, 2019
    7
    @7654 3Q,找到了,是这个 libgd-dev。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1472 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 22:41 · PVG 06:41 · LAX 14:41 · JFK 17:41
    ♥ Do have faith in what you're doing.