Re: Hello, q about ./configure (php) on linux
| From: | Rasmus Lerdorf | Date: | Thu, 20 Dec 2001 06:48:25 +0000 |
| Subject: | Re: Hello, q about ./configure (php) on linux | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-78292@lists.php.net to get a copy of this message | ||
If you library is in /usr/local/lib, then chances are the corresponding
header files are in /usr/local/include, the common directory is /usr/local
and thus you must use --with-png-dir=/usr/local
-Rasmus
On Thu, 20 Dec 2001 Joelmon2001@aol.com wrote:
> Hello, I have a question, I just want to confirm something
>
> When I use the -- with
> in
> ./configure such as:
> --with-png-dir=/usr/local
> for LIBPNG
>
> My libpng is actually located (The top level directory) at:
> /home/sites/home/users/admin/libpng-1.2.1
> however, libpng.so is at
> /usr/local/lib
>
> which path do I use in the --with
>
> It might sound like silly q, but I want to make sure I do this right, I am
> just confused if I point to the top level or the .so. Why would I ask this?
> All examples show pointing to usr/local/lib for my type of linux, but I found
> the top level elsewhere and that concerned me. now I am confused if
> libjpeg/png/gd all have /usr/local/lib or the path to the top level
> directory...
>
> Thanks for your time
>
> Joel
>