>> Delete No. 48866 article
No. php 컴팔중 mysql 에 관한 에러

등록 2002-05-11 21:50:00 By localhost     조회 1
이름 따이중    

		configure:42862: checking for mysql_close in -lmysqlclient
configure:42889: gcc -o conftest -g -O2  -DLINUX=22 -DEAPI -DEAPI_MM -DEAPI_MM_CORE_PATH=/var/run/httpd.mm
    -L/usr/lib/mysql
    conftest.c -lmysqlclient  -lcrypt -lpam -lgd -lz -lcrypt -lresolv -lm -ldl -lnsl  -lresolv -lcrypt -lgssapi_krb5
 -lkrb5 -lk5crypto -lcom_err >&5 /usr/bin/ld: cannot find -lgssapi_krb5
collect2: ld returned 1 exit status
configure:42892: $? = 1
configure: failed program was:
#line 42870 "configure"
#include "confdefs.h"
 /* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char mysql_close ();
int
main ()
{
mysql_close ();
  ;
  return 0;
}
configure:42909: result: no
configure:43009: checking for mysql_error in -lmysqlclient
configure:43036: gcc -o conftest -g -O2  -DLINUX=22 -DEAPI -DEAPI_MM -DEAPI_MM_CORE_PATH=/var/run/httpd.mm
        -L/usr/lib -L/usr/lib/mysql
        -Wl,-rpath,/usr -L/usr conftest.c -lmysqlclient  -lz -lcrypt -lpam -lgd -lz -lcrypt -lresolv -lm -ldl -lnsl
  -lresolv -lcrypt -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err >&5 /usr/bin/ld: cannot find -lgssapi_krb5
collect2: ld returned 1 exit status
configure:43039: $? = 1
configure: failed program was:
#line 43017 "configure"
#include "confdefs.h"
 /* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char mysql_error ();
int
main ()
{
mysql_error ();
  ;
  return 0;
}
configure:43056: result: no
configure:43066: error: mysql configure failed. Please check config.log for more information.
 위의 식으로 컴파일 에러가 남니다
gisspi_kbr5 는 설치가 되여 있는데 왜 에러가 날까요?
참고로 RedHat 7.2에서 7.3으로 업그레이드 후 한 것입니다.
물론 전에도 에러가 났지만...
부탁좀 드립니다.
[관리자] 패스워드를 입력 하십시오. 답장이 존재하면 함께 삭제됩니다.[ 목록 | 이전 ]
패스워드:    

Copyleft 1999-2026 by JSBoard Open Project
Theme Designed by IDOO All right reserved