http 및 https를 사용하여 SVN 컴파일을 위해 Serf 버전 1.2.1을 설치합니다. Red Hat 5 머신

http 및 https를 사용하여 SVN 컴파일을 위해 Serf 버전 1.2.1을 설치합니다. Red Hat 5 머신

make이 오류는 명령을 실행할 때 발생합니다.

/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

답변1

다음을 설치해야 합니다 expat-devel.

yum install expat-devel

그러면 빌드에서 찾고 있는 라이브러리가 제공됩니다.

관련 정보