Configure Error Jpeglib.h Not Found Ubuntu
Contents |
by admin When installing PHP 5 from source I ran into the following problems and solutions: Problem: configure: error: xml2-config not found. Please check your libxml2 installation. Solution:
Configure: Error: Freetype.h Not Found.
sudo apt-get install libxml2-dev Problem: configure: error: Cannot find libz Solution: sudo apt-get configure: error: png.h not found. install zlib1g-dev Problem: configure: error: Please reinstall the libcurl distribution Solution: sudo apt-get install libcurl4-gnutls-dev Problem: configure: error: DBA: configure: error: freetype-config not found. Could not find necessary header file(s). Solution: sudo apt-get install libgdbm-dev Problem: configure: error: png.h not found. Solution: sudo apt-get install libpng-dev Problem: configure: error: Cannot find MySQL header files under
Configure: Error: Xpm.h Not Found.
yes. Note that the MySQL client library is not bundled anymore! Solution: sudo apt-get install libmysqlclient15-dev During make: /usr/bin/ld: /usr/local/ssl/lib/libcrypto.a(cversion.o): relocation R_X86_64_32 against `.rodata.str1.1′ can not be used when making a shared object; recompile with -fPIC /usr/local/ssl/lib/libcrypto.a: could not read symbols: Bad value collect2: ld returned 1 exit status make: *** [libphp5.la] Error 1 Solution: Go back and reinstall openssl with ./config enable-shared
Configure Error Jpeglib.h Not Found. Centos
as per this answer and not sure if it mattered but i also did ‘apt-get install curl' at this point. Next Problem: /usr/bin/ld: cannot find -lltdl collect2: ld returned 1 exit status make: *** [libphp5.la] Error 1 Solution: as per this page we try this: sudo apt-get install libtool sudo apt-get install libdbd-mysql and we're up and running with our chosen options! This entry was posted in Uncategorized. Bookmark the permalink. ← Trouble installing CENTOS from USB Enable Telnet in Windows 8 → 6 Responses to Installing PHP5 on Ubuntu Server admin says: January 20, 2014 at 7:00 PM problem: configure: error: jpeglib.h not found. solution: apt-get install libjpeg-dev Reply admin says: January 20, 2014 at 7:02 PM configure: error: freetype-config not found. solution: apt-get install libfreetype6-dev Reply admin says: January 20, 2014 at 7:04 PM problem: configure: error: mcrypt.h not found. Please reinstall libmcrypt. solution: apt-get install libmcrypt-dev Reply Denis Topa says: August 11, 2014 at 6:35 AM problem: configure: error: Cannot find FreeTDS in known installation directories solution: apt-get install freetds-dev Reply Pingback: How to install PHP7 on Ubuntu or Debian Pingback: How to compile p
braku bibliotek developerskich, oto jeden z nich: configure: error: utf8_mime2text() has new signature, but u8t_canonical is missing. configure: error: jpeglib.h not found. W celu wyeliminowania w/w błędu instaliujemy następujący pakiet: http://www.omniweb.com/wordpress/?p=1040 Debian / Ubuntu : aptitude install libjpeg8-dev (32/64 bit) RedHat / CentOS / Fedora : yum install libjpeg-devel.x86_64 (64 bit) / yum install libjpeg-devel (32 http://www.ulos.pl/configure-error-jpeglib-h-not-found bit) Powrót » share this: facebook twitter Nawigacja Strona Główna Linux - Administacja Linux - Programy Linux - Tips and Tricks Kontakt Statystyki uptime: 413 dni, 8 godziny, 10 minut, 41 sekund IP: 107.173.4.195 Kraj: Poland Host: 107-173-4-195-host.colocrossing.com Czas generowanie strony: 0.399s. social ulos.pl Strona poświęcona szeroko pojętej tematyce jaką jest Linux. Zawiera szereg tutoriali dotyczących administracji systemem Linux dla początkujących i trochę bardziej zaawansowanych. © 2009-2016 Świtkowski Dominik | Polityka prywatności | Mapa Strony
better with PHP 5.2. Even though D6 core is compatible with PHP 5.3 for quite some time now, a lot of contributes modules still get nasty hiccup when asked to run on the newer version. http://zgadzaj.com/how-to-install-php-53-and-52-together-on-ubuntu-1204 Therefore developing for both D7 and D6 at the same time becomes much less painful when running both versions of PHP in parallel. One way of doing it is using mod_php5 Apache module to serve PHP 5.3 applications, while running PHP 5.2 applications using fastcgi module. Under Ubuntu 12.04 this can be achieved by installing PHP 5.3 from the repositories and manually compiling and installing PHP 5.2 afterwards. not found Installing PHP 5.3 from repositories is fairly easy process, which you most probably already have under your belt, so let's just say that it looks more or less like this: sudo apt-get install php5 php5-common php5-cli php5-dev php5-mysql phpmyadmin php5-pgsql phppgadmin php5-gd php5-mcrypt php5-curl php-pear libapache2-mod-php5 php5-xdebug php5-codesniffer What is much more interesting though, and what this post will focus on, is how to add PHP 5.2 to png.h not found. the whole picture and make both those versions work nicely together. Please note that this tutorial is for Apache's name-based virtual hosts, and essentially leaves PHP 5.3 enabled globally while allowing to use PHP 5.2 on specific, selected virtual hosts only. Download PHP sources Let's then start with downloading PHP 5.2 sources from Unsupported Historical Releases list. I have originally started with version 5.2.10 (as it is the same version that we have on our production servers), but then was stopped short by OpenSSL error during configuration stage: /usr/include/openssl/conf.h:132:7: note: expected 'struct lhash_st_CONF_VALUE *' but argument is of type 'int *'
make: *** [ext/openssl/openssl.lo] Error 1 to which I was not able to find any good fix (relatively easy to apply anyway), so finally ended up with the most recent version from 5.2 branch - 5.2.17, where those errors haven't occured anymore. Let's then download and uncompress PHP sources into ~/Downloads/php-5.2.17 directory: mkdir -p ~/Downloads/php-5.2.17
cd ~/Downloads/php-5.2.17
wget http://museum.php.net/php5/php-5.2.17.tar.gz
tar zxf php-5.2.17.tar.gz Configure Time to configure the package. Example ./configure call could look as follows: sudo ./configure \
--prefix=/usr/share/php52 \
--datadir=/usr/share/php52 \
--mandir=/usr/share/man \
--bindir=/usr/bin/php52 \
--with-libdir=lib64 \
--includedir=/usr/include \
--sysconfdir=/etc/php52/apache2 \
--with-config-file-path=/etc/php