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

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

  •  
  •   ClancyH · Mar 8, 2019 · 5063 views
    This topic created in 2648 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
        1
    shuizhongyu10  
       Mar 8, 2019   ❤️ 1
    源里没有就自己下载编译安装呗
    shuizhongyu10
        2
    shuizhongyu10  
       Mar 8, 2019
    你要装的是这个?
    libgdchart-gd2-xpm/bionic 0.11.5-10 amd64
    Generate graphs using the GD library
    ClancyH
        3
    ClancyH  
    OP
       Mar 8, 2019
    @shuizhongyu10 网上资料是 16.0.4 的对应的是 libgd2-xpm,不是这个应该,我刚才试了 libgdchart-gd2-xpm 安装之后,nginx 编译还是同样的问题:error: the HTTP image filter module requires the GD library.
    julyclyde
        4
    julyclyde  
       Mar 8, 2019   ❤️ 1
    @ClancyH 编译的时候要的是-dev 包
    ClancyH
        5
    ClancyH  
    OP
       Mar 8, 2019
    @julyclyde libgd2-xpm-dev 这个也是同样的 Unable to locate package
    7654
        6
    7654  
       Mar 8, 2019   ❤️ 1
    18.04 libgd3
    https://packages.ubuntu.com 找包名很管用
    ClancyH
        7
    ClancyH  
    OP
       Mar 8, 2019
    @7654 3Q,找到了,是这个 libgd-dev。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2690 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 11:11 · PVG 19:11 · LAX 04:11 · JFK 07:11
    ♥ Do have faith in what you're doing.