How to compile GnuTLS

前端 未结 7 607
太阳男子
太阳男子 2021-02-07 03:57

I\'m trying to compile GnuTLS library several times on Centos 6.2 but with no luck. These are the steps:

I downloaded Nettle 2.4

[root@localhost opt]# wg         


        
7条回答
  •  伪装坚强ぢ
    2021-02-07 04:44

    configure:8798: checking for libnettle
    configure:8820: gcc -std=gnu99 -o conftest -g -O2   conftest.c  /usr/lib/libnettle.so /usr/lib/libhogweed.so -lgmp >&5
    /usr/bin/ld: cannot find -lgmp
    collect2: ld returned 1 exit status
    configure:8820: $? = 1
    configure: failed program was:
    configure:8830: result: no
    configure:8856: error: 
      ***
      *** Libnettle 2.4 was not found.
    

    I install gmp-devel. The problem is fixed.

提交回复
热议问题