mod_cband 설치시 에러
mod_cband 설치시 아래와 같은 에러가 납니다;;
아파치 버젼은 2.2.4구요;;
설치는
./configure --with-apxs=/usr/local/apache2/bin/apxs
make 여기까진 잘되구요
make install 시 에러가 납니다
`/etc/ld.so.conf' 에 /usr/local/apache2/modules/ 요거도 추가도 해봤어요
ldconfig 까지 해주고요;
write "make install" to install module
/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.
----------------------------------------------------------------------
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: cannot access `/usr/local/apache2/modules/mod_cband.so': 그런 파일이나 디렉토리가 없음
apxs:Error: Command failed with rc=65536
./configure 옵션에
./configure 옵션에 --prefix를 주고 해보십시오.
make까지 됐으면, mod_cband.so만 아파치 설치된 디렉토리의 modules 밑에 copy만
해놓아도 되긴 하겠지만..
같은 에러가 나네요
--prefix 옵션을 주고 해도 같은 에러네요
--prefix 만 주지 마시고
--prefix=경로 이런식으로 주어보세요. 뭐 어떻게 경로를 지정하는가는 구글링 해 보시면 주요 예시들이 나와있으니 그런것들을 참조하셔서 :-)
====================여기부터 식인어흥====================
어흥 몰라 어흥? 호랑이 어흥!! 떡 하나 주면 어흥!! 떡 두개 주면 어흥어흥!!
추가
http://www.superuser.co.kr/home/superuserboard/view.html?id=1749&code=apache&start=120&position=
이 분은 mod_cband의 apache 버전이 안맞아서 아파치 버전과 cband 버전을 맞춰주니 되었다고 하시네요..-_-a
====================여기부터 식인어흥====================
어흥 몰라 어흥? 호랑이 어흥!! 떡 하나 주면 어흥!! 떡 두개 주면 어흥어흥!!
댓글 달기