HostSimplex Posted August 1, 2008 Share Posted August 1, 2008 I have searched all over google and every says to install libjpeg-devel which I have. I am trying to recompile php using ./build php n but no matter what I do I keep getting the dreaded message configure: error: libjpeg.(a|so) not found. I have even recompiled jpeg-6b with shared enabled. I am using a centos 5.x box, with DirectAdmin installed. Any help with this would be grateful. Below is my configure in configure/ap2/configure.php5 ./configure \ --with-apxs2 \ --with-curl=/usr/local/lib \ --with-gd \ --enable-gd-native-ttf \ --with-ttf \ --with-gettext \ --with-jpeg-dir=/usr/local/lib \ --with-freetype-dir=/usr/local/lib \ --with-kerberos \ --with-openssl \ --with-mcrypt \ --with-mhash \ --with-mysql=/usr \ --with-mysqli=/usr/bin/mysql_config \ --with-pear \ --with-png-dir=/usr/lib \ --with-zlib \ --with-zlib-dir=/usr/local/lib \ --enable-zip \ --with-iconv=/usr/local \ --enable-bcmath \ --enable-calendar \ --enable-ftp \ --enable-magic-quotes \ --enable-sockets \ --with-mnogosearch=/usr/local/mnogosearch \ --with-libdir=/usr/lib/mysql \ --enable-mbstring This is where it stops at with the error checking for the location of libjpeg... /usr/local/lib checking for the location of libpng... /usr/lib checking for the location of libXpm... no checking for FreeType 1.x support... yes checking for FreeType 2... /usr/local/lib checking for T1lib support... no 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 configure: error: libjpeg.(a|so) not found. *** There was an error while trying to configure php. Check the configure/ap2/configure.php5 file As you see all libraries are installed. [root@host custombuild]# locate libjpeg.a /usr/local/lib/libjpeg.a /usr/local/lib/libjpeg.so The last 4 lines of my config.log states configure:35255: gcc -o conftest -g -O2 -Wl,-rpath,/usr/local/lib -L/usr/local/lib -Wl,-rpath,/usr/kerberos/lib -L/usr/kerberos/lib -Wl,-rpath,/usr/local//usr/lib/mysql -L/usr/local//usr/lib/mysql conftest.c -lcurl -lz -lresolv -lm -ldl -lnsl -lxml2 -lz -liconv -lm -lssl -lcrypto -ldl -lz -lcurl -lxml2 -lz -liconv -lm -lssl -lcrypto -ldl -lz 1>&5 configure:35239: warning: conflicting types for built-in function 'fabsf' configure:35227: checking for floorf configure:35255: gcc -o conftest -g -O2 -Wl,-rpath,/usr/local/lib -L/usr/local/lib -Wl,-rpath,/usr/kerberos/lib -L/usr/kerberos/lib -Wl,-rpath,/usr/local//usr/lib/mysql -L/usr/local//usr/lib/mysql conftest.c -lcurl -lz -lresolv -lm -ldl -lnsl -lxml2 -lz -liconv -lm -lssl -lcrypto -ldl -lz -lcurl -lxml2 -lz -liconv -lm -lssl -lcrypto -ldl -lz 1>&5 configure:35239: warning: conflicting types for built-in function 'floorf' Quote Link to comment https://forums.phpfreaks.com/topic/117767-configure-error-libjpegaso-not-found-directadmin/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.