리눅스할줄 아시는분 이거좀 봐주세요 ㅜㅜ > 자유게시판

자유게시판

리눅스할줄 아시는분 이거좀 봐주세요 ㅜㅜ 정보

리눅스할줄 아시는분 이거좀 봐주세요 ㅜㅜ

본문

아무리 재컴파일을 해도 JPG Support, FreeType Support 가 안뜹니다.
미치겠어요 진짜 ㅠㅠ

현재 php 5.3.27 버전입니다.
libjpeg.so 파일의 위치는 "/usr/lib64" 폴더에 있구요.
(이폴더에 libjpeg.so를 포함하여 libjpeg.so.62랑 libjpeg.so.62.0.0 등이 있네요.)

freetype.h 파일의 위치는 "/usr/include/freetype2/freetype" 폴더에 있구요.
freetype-config 파일의 위치는 "/usr/bin" 폴더에 있습니다.

제가 여러번을 ./configure 를 했는데 아래와 같습니다.

첫시도
===================================================
./configure  --with-mysql=/usr/local/mysql  --prefix=/usr/local/php --with-config-file-path=/usr/local/php --enable-sockets --enable-sysvsem=yes --enable-sysvshm=yes --enable-ftp --enable-magic-quotes --enable-gd-native-ttf --enable-inline-optimization --enable-bcmath --enable-exif --enable-sigchild --enable-mbstring --enable-soap --with-zlib --with-jpeg-dir=/usr/lib --with-png --with-freetype-dir=/usr/bin --with-libxml --with-gd --with-gettext --with-openssl --with-config-file  --with-xml --enable-modules=so --with-zlib --with-curl --with-curlwrappers --enable-ftp --with-mhash --with-mcrypt --enable-fpm --with-mysqli=/usr/local/mysql/bin/mysql_config && make && make install
==================================================

두번째시도
===================================================
./configure  --with-mysql=/usr/local/mysql  --prefix=/usr/local/php --with-config-file-path=/usr/local/php --enable-sockets --enable-sysvsem=yes --enable-sysvshm=yes --enable-ftp --enable-magic-quotes --enable-gd-native-ttf --enable-inline-optimization --enable-bcmath --enable-exif --enable-sigchild --enable-mbstring --enable-soap --with-zlib --with-jpeg-dir=/usr/lib --with-png --with-freetype-dir=/usr/include/freetype2 --with-libxml --with-gd --with-gettext --with-openssl --with-config-file  --with-xml --enable-modules=so --with-zlib --with-curl --with-curlwrappers --enable-ftp --with-mhash --with-mcrypt --enable-fpm --with-mysqli=/usr/local/mysql/bin/mysql_config && make && make install
==============================================================

세번째시도
==============================================================
./configure  --with-mysql=/usr/local/mysql  --prefix=/usr/local/php --with-config-file-path=/usr/local/php --enable-sockets --enable-sysvsem=yes --enable-sysvshm=yes --enable-ftp --enable-magic-quotes --enable-gd-native-ttf --enable-inline-optimization --enable-bcmath --enable-exif --enable-sigchild --enable-mbstring --enable-soap --with-zlib --with-png --with-jpeg-dir --with-jpeg --with-gd --with-freetype-dir=/usr/include/freetype2/freetype --with-freetype --with-libxml --with-gettext --with-openssl --with-config-file  --with-xml --enable-modules=so --with-zlib --with-curl --with-curlwrappers --enable-ftp --with-mhash --with-mcrypt --enable-fpm --with-mysqli=/usr/local/mysql/bin/mysql_config && make && make install
===========================================================

이런식으로 진행해왔었는데요.
dir 경로를 잘못잡아줬나 싶어서.. 경로에 맞게 해줘도 안되고
dir 경로 없이 그냥 --with-jpeg --with-freetype 이런식으로 잡아줘도 안됩니다.

그리고 컴파일시 에러는 없이 잘됩니다.

그리고 난 다음에 /etc/init.d/php-fpm restart 해주고
phpinfo()를 확인해보면 Configure Command 는 분명히 바뀐명령이 적혀있는데

JPG support 랑 FreeType Support 는 나오지 않네요.

GD Support     enabled
GD Version     bundled (2.1.0 compatible)
GIF Read Support     enabled
GIF Create Support     enabled
PNG Support     enabled
libPNG Version     1.2.49
WBMP Support     enabled
XBM Support     enabled


도대체 뭐가 문제길래 JPG supoort 와 FreeType support 가 뜨지 않는걸까요..
머리 터질지경이네요.ㅋㅋㅋ 내가 웃는게 웃는게 아니야~~
추천
0

댓글 10개

그렇게도 해보고..
--with-jpeg-dir 이렇게도 해보고
--with-jpeg-dir -with-jpeg 이렇게도 해보고
--with-jpeg 이렇게도 해봤는데도
안되네요.

./configure 어쩌고 .. make install 하는 명령어를 입력해주구요.

그다음 /etc/init.d/php-fpm restart 해준다음
phpinfo(); 를 확인해보면 바껴야 되는거 아닌가요?
전체 95 |RSS
자유게시판 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1402호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT