歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
您现在的位置: Linux教程網 >> UnixLinux >  >> Linux基礎 >> 關於Linux

configure:error:libjpeg.(a|so) not found解決

configure:error:libjpeg.(a|so) not found解決   在安裝過程php-5.2.14.tar.gz中執行  www.2cto.com   ./configure --prefix=/usr/local/php --with-config-file-path=/usr/local/hp/etc --with-mysql=/usr/local/mysql --with-mysqli=/usr/local/mysql/bin/mysql_config --with-iconv-dir=/usr/local --with-freetype-dir --with-jpeg-dir --with-png-dir --with-zlib --with-libxml-dir=/usr --enable-xml --disable-rpath --enable-discard-path --enable-safe-mode --enable-bcmath --enable-shmop --enable-sysvsem --enable-inline-optimization --with-curl --with-curlwrappers --enable-mbregex --enable-fastcgi --enable-fpm --enable-force-cgi-redirect --enable-mbstring --with-mcrypt --with-gd --enable-gd-native-ttf --with-openssl --with-mhash --enable-pcntl --enable-sockets --with-ldap --with-ldap-sasl --with-xmlrpc --enable-zip --enable-soap   的過程過程中突然包這個錯:configure:error:libjpeg.(a|so) not found  檢查一下: [root@cheng Nginxsource]# rpm -qa |grep libjpeg libjpeg-6b-46.el6.x86_64 libjpeg-devel-6b-46.el6.x86_64                #貌似我明明安裝了 看了找不到庫文件那我就給他復制一份: 1.          cp  -frp /usr/lib64/libjpeg.* /usr/lib/   #configure:error:libjpeg.(a|so) not found 報錯搞定   2. 注意過程中還會提示" Configure: error: libpng.(also) not found."錯誤,解決辦法和上面的一樣. cp -frp /usr/lib64/libpng* /usr/lib/ 3.如果提示"configure: error: Cannot find ldap libraries in /usr/lib."   cp -frp /usr/lib64/libldap* /usr/lib   #好的搞定了報錯
Copyright © Linux教程網 All Rights Reserved