Re: [GD-DEVEL] How to upgrade?
| From: | Lars Hecking | Date: | Fri, 09 Feb 2007 09:59:29 +0000 |
| Subject: | Re: [GD-DEVEL] How to upgrade? | ||
| References: | 1 2 | Groups: | php.gd.devel |
| Request: | Send a blank email to php-gd-devel+get-80@lists.php.net to get a copy of this message | ||
Pierre writes:
> Hi,
>
> On 2/8/07, Esteban Flores <esflores@gmail.com> wrote:
> >Hi...
> >I have gd 1.x.x already instaled on linux but i need gd 2.x.x and I don't
> >want to delete my first gd (cause im getting troubles with one app
> >previously created with modules on gd 1.x.x)
> >
> >It's any way to keep my installation and install the other lib (like 2on1
> >libs)
>
> It should be possible to have both installed if you use different name
> for the so/a files. As far as I remember that's what some linux
> distributions do.
That should not be necessary.
If you build from source, configure with a customised prefix, e.g.
--prefix=$HOME. Then, when compiling other, gd using applications,
make sure that the directory containing the newer gdlib-config (in this
case, $HOME/bin), comes first in PATH. That should pretty much do it.