Configure Error Unable To Find Libgd.a So Anywhere Under /usr/local
Today's Posts Advanced Search Find the answer to your Linux question: Entire Site Articles Downloads Forums Linux Hosting Forum GNU Linux Zone Applications Installing PHP with GD support on RHL8.0 If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. ** If you are logged in, most ads will not be displayed. ** Linuxforums now supports the Tapatalk app for your mobile device. Page 1 of 3 1 2 3 Last Jump to page: Results 1 to 10 of 26 Thread: Installing PHP with GD support on RHL8.0 Thread Tools Show Printable Version Email this Page… Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode Enjoy an ad free experience by logging in. Not a member yet? Register. 02-26-2003 #1 majik View Profile View Forum Posts View Articles Just Joined! Join Date Feb 2003 Posts 16 Installing PHP with GD support on RHL8.0 New to linux, I am using the guide to installing apache, php, and gd found here: http://www.linuxguruz.org/z.php?id=31 Apache and gd configured, compiled, and installed fine. For PHP, the guide suggested using the configuration options: ./configure \ --with-apxs=/usr/local/apache/bin/apxs \ --with-config-file-path=/usr/local/apache/conf \ --enable-versioning \ --with-mysql=/usr/local \ --enable-ftp \ --with-gd=/usr/local/gd-2.0.11 \ --enable-bcmath \ --disable-debug \ --enable-memory-limit=yes \ --enable-track-vars I hit enter and it does its thing. However, I end up with the following: checking for T1lib support... yes checking whether to enable truetype string function in GD... yes If configure fails try --with-jpeg-dir= If configure fails try --with-png-dir= and --with-zlib-dir= If configure fails try --
Forums Dedicated Server Trying to install PHP4.2.3 on Raq4 - libgd error If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. Results 1 to 2 of 2 Thread: Trying to install PHP4.2.3 on Raq4 - libgd error Tweet Thread Tools Show http://www.linuxforums.org/forum/applications/739-installing-php-gd-support-rhl8-0-a.html Printable Version Subscribe to this Thread… Search Thread Advanced Search Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode 11-10-2002,06:25 AM #1 WebWorx View Profile View Forum Posts View Forum Threads Visit Homepage Junior Guru Wannabe Join Date Sep 2001 Location Sydney Australia Posts 48 Trying to install PHP4.2.3 on Raq4 - libgd error Hi guys... Ok, http://www.webhostingtalk.com/showthread.php?t=87821 I need to install php4.2.3 on a raq4 so that a client can make use of a particular function. When running ./configure comand I am getting the following configure: error: Unable to find libgd.(a|so) anywhere under /usr/local /usr I have looked everywhere, and have seen this question asked many times, but cannot find where it has ever been answered... Can someone please help urgently....I need to get this working. Thanks. Reply With Quote 0 11-10-2002,06:41 AM #2 WebWorx View Profile View Forum Posts View Forum Threads Visit Homepage Junior Guru Wannabe Join Date Sep 2001 Location Sydney Australia Posts 48 Ok, think I fixed it. I had been reading so many threads, and every single one mentioned putting --with-gd-dir=/usr/lib instead of just --with-gd but every single one came back and said it didn't work, so I didn't try it. Anyway, I tried it and it worked...lol.... Will repost if anymore problems...but seems to be going fine now. Reply With Quote 0 Quick Navigation Dedicated Server Top Site Areas Member Control Panel Private Messages Subscr
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 http://zgadzaj.com/how-to-install-php-53-and-52-together-on-ubuntu-1204 asked to run on the newer version. Therefore developing for both D7 https://www.opennet.ru/openforum/vsluhforumID1/58848.html 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 configure error installing PHP 5.3 from the repositories and manually compiling and installing PHP 5.2 afterwards. 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 configure error unable php5-codesniffer What is much more interesting though, and what this post will focus on, is how to add PHP 5.2 to 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