티스토리 뷰
가끔 make를 할 때 아래와 같은 오류 메시지가 나올 때가 있습니다
p2p/Makefile.am:6: error: Libtool library used but 'LIBTOOL' is undefined
p2p/Makefile.am:6: The usual way to define 'LIBTOOL' is to add 'LT_INIT'
p2p/Makefile.am:6: to 'configure.ac' and run 'aclocal' and 'autoconf' again.
p2p/Makefile.am:6: If 'LT_INIT' is in 'configure.ac', make sure
p2p/Makefile.am:6: its definition is in aclocal's search path.
해결책 #1
# fedora / RHEL
# sudo yum install libtool
# ubuntu
# sudo apt install libtool
libtool 패키지가 설치가 안 되어 그럴 수도 있으니 libtool 패키지를 설치 합니다
해결책 #2
# autoreconf --install
autoreconf를 재 실행 해주면 됩니다
해결책 #3
매크로 파일 경로에 문제가 있어 위와 같은 오류가 나올 수 있습니다
아마 패키지 버전이 꼬여서 매크로 파일 경로에 문제가 생길 수도 있으며 아래 명령어로 현재 설정된 매크로 파일 경로를 확인할 수 있습니다
# aclocal --print-ac-dir
/usr/local/share/aclocal
위 경로로 가면 확장자가 m4로 된 파일들이 없으면 위와 같은 오류가 나오며 매크로 파일들이 있는 곳을 찾아서 링크를 걸어 주면 됩니다
주로 /usr/local/share/aclocal 혹은 /usr/share/aclocal에 매크로 파일들이 있으며 위 명령어로 나온 경로에 매크로 파일들이 보일 수 있도록 아래와 같이 링크를 걸어 주면 됩니다
# sudo mv /usr/local/share/aclocal /usr/local/share/aclocal.org
# sudo ln -s /usr/share/aclocal /usr/local/share/
출처:
https://stackoverflow.com/questions/18978252/error-libtool-library-used-but-libtool-is-undefined
'컴퓨터 > 리눅스' 카테고리의 다른 글
CentOS 8 Timeline (0) | 2019.09.25 |
---|---|
타오바오 헤놀로지에서 MAC 변경하기 (재설치 없이) (0) | 2019.09.18 |
WSL ubuntu 삭제 방법 (0) | 2019.02.02 |
Compare Hauppauge USB TV tuners (0) | 2018.10.24 |
부팅 중 crng init done 메시지와 함께 딜레이 발생 시 해결법 (0) | 2018.07.04 |
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- 이벤트
- vmware
- 네이처메이드
- XPS 13
- 잼라이브
- 해외결제
- 해외 결제
- 리눅스
- SVN
- NH농협카드
- linux
- 아마존
- 11번가
- 2018년
- ubuntu
- LTE
- 기저귀
- 농협카드
- 설
- XPS 13 9350
- 힌트
- ethernet
- 블랙프라이데이
- 아이폰
- BC카드
- iPhone
- vim
- 하기스
- 승차권
- 직구
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 | 31 |
글 보관함