开发者社区> 问答> 正文

阿里云服务器上安装git

下载解压完安装包执行

#3 编译 安装 make prefix=/usr/local/git all

总是报下边的错

LINK git-http-fetch
/usr/bin/ld: cannot find -lcurl
collect2: error: ld returned 1 exit status
make: *** [git-http-fetch] Error 1
[root@izbp1aqyx7rkovd0g3x23gz git-2.3.0]# make prefix=/usr/local/git all
LINK git-http-fetch
/usr/bin/ld: cannot find -lcurl
collect2: error: ld returned 1 exit status
make: *** [git-http-fetch] Error 1

网上的乱七八糟的方法都试了还是不行

遇到了同样的问题,在CSDN看到了,希望阿里云团队能够给出正确、标准的答案~请查看

展开
收起
刘刚_ 2020-05-23 14:38:23 1498 0
0 条回答
写回答
取消 提交回答
问答排行榜
最热
最新

相关电子书

更多
阿里云云原生 Serverless 技术实践营 PPT 演讲 立即下载
阿里云产品十月刊 立即下载
基于阿里云构建博学谷平台实时湖仓 立即下载