Instalando o Serf versão 1.2.1 para SVN compile com http e https. Redhat 5 máquina

0

A execução de um comando make fornece este erro.

/usr/bin/ld: cannot find -lexpat collect2: ld returned 1 exit status make: *** [test/serf_get] Error 1
Other logs:- $ld -lexpat --verbose
attempt to open /usr/x86_64-redhat-linux/lib64/libexpat.so failed
attempt to open /usr/x86_64-redhat-linux/lib64/libexpat.a failed
attempt to open /usr/local/lib64/libexpat.so failed
attempt to open /usr/local/lib64/libexpat.a failed
attempt to open /lib64/libexpat.so failed
attempt to open /lib64/libexpat.a fai'enter code here'led
attempt to open /usr/lib64/libexpat.so failed
attempt to open /usr/lib64/libexpat.a failed
attempt to open /usr/x86_64-redhat-linux/lib/libexpat.so failed
attempt to open /usr/x86_64-redhat-linux/lib/libexpat.a failed
attempt to open /usr/lib64/libexpat.so failed
attempt to open /usr/lib64/libexpat.a failed
attempt to open /usr/local/lib/libexpat.so failed
attempt to open /usr/local/lib/libexpat.a failed
attempt to open /lib/libexpat.so failed
attempt to open /lib/libexpat.a failed
attempt to open /usr/lib/libexpat.so failed
attempt to open /usr/lib/libexpat.a failed
ld: cannot find -lexpat
    
por Vatsal Bhatt 14.09.2016 / 06:55

1 resposta

0

Você precisa instalar o expat-devel :

yum install expat-devel

Isso fornecerá a biblioteca que sua construção está procurando.

    
por 14.09.2016 / 07:52