제 설치 과정을 설명하고... 왜 이런 에러가 나는지 봐주세용^^
제 환경은 redhat 6.2 kernel2.2.18 입니다
zlib-1.1.3 libpng-1.0.12 jpeg-6b gd-1.8.4 webalizer-2.01-09
로 설치를 시작했습니다...
cd zlib-1.1.3
#]CC="egcs" CFLAGS="-O9 -funroll-loops -ffast-math -malign-double -
mcpu=pentiumpro -march=pentiumpro -fomit-frame-pointer -fno-
exceptions" ./configure --prefix=/usr/local
#]make test
#]make install
cd ../libpng-1.0.12/
#]cp scripts/makefile.linux makefile
#]vi makefile
#]make test
#]make install
cd ../jpeg-6b/
#]CC="egcs" CFLAGS="-O9 -funroll-loops -ffast-math -malign-double -
mcpu=pentiumpro -march=pentiumpro -fomit-frame-pointer -fno-
exceptions" ./configure
#]make test
#]make install
cd ../gd-1.8.4/
#]vi Makefile
#]cp ../jpeg-6b/*.h . <--이 부분을 안하면 에러가 계속되더라고요.
#]make
#]make install
cd ../webalizer-2.01-09/
#]CC="egcs" CFLAGS="-O9 -funroll-loops -ffast-math -malign-double -
mcpu=pentiumpro -march=pentiumpro -fomit-frame-pointer -fno-
exceptions" ./configure --prefix=/usr/local --with-language=korean
#]make
#]make install
이렇게 성공적으로 설치를 했고용.. 처음 실행을 위해서...
#]/usr/local/bin/webalizer
/usr/local/bin/webalizer: error in loading shared libraries:
libpng.so.2: cannot open shared object file: No such file or directory
왜 이런 에러 나는지 ... 고민과 연구 끝에 여기에 도움을 청합니다..
다음의 내용은 이번 컴파일 과정에서 설치된 파일들입니다...
--------------------------------
/etc/webalizer.conf.sample
/etc/webalizer.conf
/home/httpd/usage
/usr/local/bin/webalizer
/usr/local/bin/webazolver
/usr/local/bin/cjpeg
/usr/local/bin/djpeg
/usr/local/bin/jpegtran
/usr/local/bin/rdjpgcom
/usr/local/bin/wrjpgcom
/usr/local/bin/pngtogd
/usr/local/bin/pngtogd2
/usr/local/bin/gdtopng
/usr/local/bin/gd2topng
/usr/local/bin/gd2copypal
/usr/local/bin/gdparttopng
/usr/local/bin/webpng
/usr/local/bin/bdftogd
/usr/local/lib/libz.a
/usr/local/lib/libpng.a
/usr/local/lib/libpng.so.2.1.0.12
/usr/local/lib/libpng.so.2
/usr/local/lib/libpng.so
/usr/local/lib/libgd.a
/usr/local/man/man1/cjpeg.1
/usr/local/man/man1/djpeg.1
/usr/local/man/man1/jpegtran.1
/usr/local/man/man1/rdjpgcom.1
/usr/local/man/man1/wrjpgcom.1
/usr/local/include/zlib.h
/usr/local/include/zconf.h
/usr/local/include/png.h
/usr/local/include/pngconf.h
/usr/local/include/gd.h
/usr/local/include/gdcache.h
/usr/local/include/gd_io.h
/usr/local/include/gdfontg.h
/usr/local/include/gdfontl.h
/usr/local/include/gdfontmb.h
/usr/local/include/gdfonts.h
/usr/local/include/gdfontt.h
/usr/man/man1/webalizer.1
-------------------------------
^^ 넘 긴 글이라 ..... 양해 부탁해용...
간절히 도움을 청하고장...-- yann