sun's longitude:241 49 29.34 
· 자유게시판 · 묻고답하기 · 알파문서 · RPMS list
· 사용자문서 · 팁/FAQ모음 · 리눅스Links · 자료실
· 서버정보 · 운영자 · Books/FAQ · FreeBSD
/board/read.php:소스보기  

질문과 답변 게시판입니다.

현재 실시간으로 이곳 서버의 설정파일(몇개)를 보여주고 있습니다.
서버의 설정내용에 관한 질문은 먼저 이곳 서버의 설정내용을 참고하시길 바랍니다.

[*** 쓰기 금지단어 패턴 ***]
글 본문 중간에 업로드할 이미지를 추가하는 방법 : @@이미지이름@@
ex) @@foo.gif@@
1395 번 글의 답장글: Re: Re: tomcat....mod_jk.so........생성
글쓴이: 타니 글쓴날: 2003년 03월 21일 20:30:58 금(저녁) 조회: 2091
]#/usr/local/apache/bin/apxs -i -a -c mod_info.c
아파치에서 모듈을 생성하려고 하니 똑같은 에러가 나는데요..
모듈을 생성하는 이것이 되면...톰켓도 되었었는데...^^;;

OS 를 다시 깔어두 역시 마찬가지로 에러가 나는군여...
아래 에러메세지에 뭔가 있을것 같은데....도저히
 이해를 할수가 없군여...
검토 좀 부탁드립니다................



chmod 644 /usr/local/apache/modules/mod_info.a
PATH="$PATH:/sbin" ldconfig -n /usr/local/apache/modules
----------------------------------------------------------------
------
Libraries have been installed in:
   /usr/local/apache/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/apache/modules/mod_info.la.
Assuming installing a .so rather than a libtool archive.
chmod 755 /usr/local/apache/modules/mod_info.so
chmod: failed to get attributes of 
`/usr/local/apache/modules/mod_info.so': 그런 파일이나 디렉토리
가 없음
apxs:Error: Command failed with rc=65536


특히 이부분에서 
Warning!  dlname not found 
in /usr/local/apache/modules/mod_info.la.

그래서
]#cat mod_info.la

# mod_info.la - a libtool library file
# Generated by ltmain.sh - GNU libtool 1.4.3 (1.922.2.110 
2002/10/23 
01:39:54)
#
# Please DO NOT delete this file!
# It is necessary for linking the library.

# The name that we can dlopen(3).
dlname=''

# Names of this library.
library_names=''

# The name of the static archive.
old_library='mod_info.a'

# Libraries that this one depends upon.
dependency_libs=''

# Version information for mod_info.
current=0
age=0
revision=0

# Is this an already installed library?
installed=yes

# Files to dlopen/dlpreopen
dlopen=''
dlpreopen=''

# Directory that this library needs to be installed in:
libdir='/usr/local/apache/modules'

mod_info.la 파일에서 dlname=''  library_names='' 등이 명시되지 
않아서 그런것같은데....명시를
 해줘야 되는건지...아님
 
libtool, apxs 같은데서 에러가 있는건지..................^^;;



부디 조언줌 꼭 부탁드립니다....

이것땜에 며칠째 삽질?하구 있답니다......

꼭 좀 조언 부탁드립니다....................(((꾸벅)))


[산이]님이 남기신 글:

>아래의 설치방법은 제가 직접해보질 않아서
>정확하게는 모르겠고..
>다만
>아파치2.0의 경우는
>
>--with-apxs= 가 아니고
>
>--with-apxs2=
>
>인걸로 아는데 한번 옵션을 체크해 보시길 바랍니다.
>
>
>[타니]님이 남기신 글:
>
>>
>>apache-2.0.44 tomcat-4.1.18 연동해서 인스톨하는데...

>>tomcat-connectors-4.1.18 에서 mod_jk.so 생성시 
>># cd /tmp/jakarta-tomcat-connectors-4.1.12-src/jk/native
>># ./buildconf.sh
>># ./configure --with-apxs=/usr/local/apache/bin/apxs
>># make
>># make install
>>아래와 같은 에러가 생겼는데....의미를
 모르겠군여....
>>조언 부탁드립니다...

>>#cat ld.so.conf
>>/usr/kerberos/lib
>>/usr/X11R6/lib
>>/usr/local/apache/lib
>>/usr/local/apache/modules
>>/usr/local/mysql/lib
>>/lib
>>/usr/lib
>>/usr/local/lib
>>
>>-------------------------------------error---------
>>Installing files to Apache Modules Directory...
>>/usr/local/apache/bin/apxs -i mod_jk.la
>>/usr/local/apache/build/instdso.sh SH_LIBTOOL='/usr/local/apache/build/libtool'
mod_jk.la /usr/local/apache/modules
>>/usr/local/apache/build/libtool --mode=install cp mod_jk.la
/usr/local/apache/modules/
>>cp .libs/mod_jk.lai /usr/local/apache/modules/mod_jk.la
>>cp .libs/mod_jk.a /usr/local/apache/modules/mod_jk.a
>>ranlib /usr/local/apache/modules/mod_jk.a
>>chmod 644 /usr/local/apache/modules/mod_jk.a
>>PATH="$PATH:/sbin" ldconfig -n /usr/local/apache/modules
>>----------------------------------------------------------------------
>>Libraries have been installed in:
>>   /usr/local/apache/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/apache/modules/mod_jk.la.
>>Assuming installing a .so rather than a libtool archive.
>>chmod 755 /usr/local/apache/modules/mod_jk.so
>>chmod: failed to get attributes of `/usr/local/apache/modules/mod_jk.so': 그런
파일이나 디렉토리가 없음
>>apxs:Error: Command failed with rc=65536
>>.
>>make[1]: *** [install_dynamic] 오류 1
>>make[1]: 나감
`/usr/local/jakarta-tomcat-connectors-4.1.18-src/jk/native/apache-2.0'
디렉토리
>>make: *** [install-recursive] 오류 1 
>
>======================================== 

========================================

 
이전글 : Re: tomcat....mod_jk.so........생성
다음글 : Re: Re: Re: tomcat....mod_jk.so........생성  
 from 61.81.119.89
JS(Redhands)Board 0.4 +@

Re: tomcat....mod_jk.so........생성 Re: Re: Re: tomcat....mod_jk.so........생성
인쇄용 


apache lighttpd linuxchannel.net 
Copyright 1997-2024. linuxchannel.net. All rights reserved.

Page loading: 0.01(server) + (network) + (browser) seconds