: 뭔 에러인지 make 하다가 여기서 멈췄습니다.
: 아파치 1.3.12
: mysql3.23.30 gamma pc linux gnu
: php-4.02
: 를
: #./configure --with-apache=/tmp/apache_1.3.12 --with-mysql=/usr/local/mysql
: 로 하고 나서 아파치 디랙토리에서 make 실행 했더니 나는 에러 입니다.
:
: hp4 -L../modules/php4 -L../../modules/php4 -lmodphp4 -lgdbm -lpam -ldl -lmysql
: client -lgd -lresolv -lm -ldl -lcrypt -lnsl -lresolv -lm -lcrypt
: /usr/local/mysql/lib/libmysqlclient.a(my_compress.o): In function `my_uncompress
: ':
: my_compress.o(.text+0x97): undefined reference to `uncompress'
: /usr/local/mysql/lib/libmysqlclient.a(my_compress.o): In function `my_compress_a
: lloc':
: my_compress.o(.text+0x12b): undefined reference to `compress'
: collect2: ld returned 1 exit status
: make: *** [target_static] Error 1
직접 해보지 않아서 뭐라 직접적인 조언을 드리기는 힘들지만 mysql의 일부 함수를
제대로 참조하지 못하는 듯 하네요.
일단은 Apache나 mysql의 README를 잘 읽어보시고, 안 되시면 에러가 나는 소스
코드를 고쳐주어야 할 겁니다.
gcc 2.96일 경우 생기는 문제일수도 있으므로 RH 7.0에서는 egcs를 이용해서도
컴파일 해보시고요.
도움이 못 된 것 같아, 죄송하고 좋은 하루되세요.--내 서명???