질문&답변
클라우드/리눅스에 관한 질문과 답변을 주고 받는 곳입니다.
리눅스 분류

mod_cband 설치시 오류

작성자 정보

  • 김재성 작성
  • 작성일

컨텐츠 정보

본문

마지막에 make install 할때 에러가 납니다.

 


/usr/local/apache2/bin/apxs -Wc,-Wall -Wc,-DDST_CLASS=3 -i -a -n cband src/mod_cband.la
/usr/local/apache2/build/instdso.sh SH_LIBTOOL='/usr/local/apache2/build/libtool' src/mod_cband.la /usr/local/apache2/modules
/usr/local/apache2/build/libtool --mode=install cp src/mod_cband.la /usr/local/apache2/modules/
cp src/.libs/mod_cband.lai /usr/local/apache2/modules/mod_cband.la
cp src/.libs/mod_cband.a /usr/local/apache2/modules/mod_cband.a
ranlib /usr/local/apache2/modules/mod_cband.a
chmod 644 /usr/local/apache2/modules/mod_cband.a
PATH="$PATH:/sbin" ldconfig -n /usr/local/apache2/modules
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/apache2/modules

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
sed: -e expression #1, char 34: Extra characters after command
sed: -e expression #1, char 51: Extra characters after command
Warning!  dlname not found in /usr/local/apache2/modules/mod_cband.la.
Assuming installing a .so rather than a libtool archive.
chmod 755 /usr/local/apache2/modules/mod_cband.so
chmod: getting attributes of `/usr/local/apache2/modules/mod_cband.so': No such file or directory
apxs:Error: Command failed with rc=65536
.
make: *** [install] Error 1

 

 

뭘 어떻게 해줘야할까요?

 

`/etc/ld.so.conf'

이 파일에다가 모듈 디렉토리를 추가시켜줘야 하나요?


관련자료

댓글 1

theworld002님의 댓글

  • theworld002
  • 작성일
헐 4년전 글에 답글을 쓰게 되었네요 끙~~;;
이문제로 고민하시는 다른분들이라도 보시라궁...
저도 이문제 때문에 구글링 하다 찾게 되어 답변 드립니다.
아파치버전은2.2.11이고 cband는 0.9.7.5로 사용하였습니다 .
링크는 http://www.chblog.kr/1283
내용인 즉슨
결국 이파일이 에러나는 이유는 /usr/local/apache/build/instdso.sh SH_LIBTOOL='/usr/local/apache/build/libtool'에서 여기의 libtool파일의 호환성문제때문에 일어나는 현상이랍니다.
해결방법은
cp /usr/bin/libtool /usr/local/apache/build/를 해주면 완료....
이다음 컴파일하고 make make install하면 에러 나지 않습니다.

공지사항


뉴스광장


  • 현재 회원수 :  60,035 명
  • 현재 강좌수 :  35,791 개
  • 현재 접속자 :  83 명