질문&답변
클라우드/리눅스에 관한 질문과 답변을 주고 받는 곳입니다.
리눅스 분류

php 컴파일중 libjpeg 오류...

작성자 정보

  • 초보 작성
  • 작성일

컨텐츠 정보

본문

php를 아래와 같이 컴파일 했는데

./configure --with-apx2=/usr/local/apache/bin/apxs --with-zlib --with-gd --with-ttf --with-libpng --with-expat-dir=/usr --with-gmp --with-xml --with-mysql=/usr/local/mysql --with-language=korean --with-charset=euc_kr --disable-debug --disable-posix --disable-rpath --enable-safe-mode --enable-magic-quotes --disable-dmalloc --enable-bcmath --enable-dio --enable-gd-native-ttf --enable-sysvsem --enable-sysvshm --enable-wddx --enable-versioning --enable-pic --enable-inline-optimization --enable-memory-limit --enable-mbstring --enable-mbrehex --enable-mbstr-enx-trans --with-cofig-file-path=/usr/local/lib --enable-ftp --disable-debug --enable-track-vars=yes --with-jpeg-dir --with-freetype-dir --enable-gd-native-ttf --enable-dl --with-imap=shared --with-imap-ssl=/usr/lib --with-kerberos

다음과 같은 오류가 생기더 군요..
checking whether to enable truetype string function in GD... yes
checking whether to enable JIS-mapped Japanese font support in GD... no
checking for fabsf... yes
checking for floorf... yes
checking for jpeg_read_header in -ljpeg... no
configure: error: Problem with libjpeg.(a|so). Please check config.log for more information.

그래서 jpeg 구문을 지우거나 libjpeg로 구문을 변경하니.. 아래 와 같은 오류가 나더군요...
checking whether to enable truetype string function in GD... yes
checking whether to enable JIS-mapped Japanese font support in GD... no
checking for fabsf... yes
checking for floorf... yes
If configure fails try --with-jpeg-dir=<DIR>
checking for png_write_image in -lpng... yes
If configure fails try --with-xpm-dir=<DIR>
configure: error: freetype2 not found!

무엇이 문제 인지 모르겠네요...
libjpeg는 아래 와 같이 깔려 있습니다.
libjpeg-devel-6b-34
libjpeg-6b-34

freetype 는
freetype-2.1.9-1
freetype-2.1.9-1

입니다...

관련자료

댓글 0
등록된 댓글이 없습니다.

공지사항


뉴스광장


  • 현재 회원수 :  60,437 명
  • 현재 강좌수 :  37,183 개
  • 현재 접속자 :  259 명