Re: [GD-DEVEL] How to upgrade?

From: Date: Fri, 09 Feb 2007 12:46:47 +0000
Subject: Re: [GD-DEVEL] How to upgrade?
References: 1 2 3  Groups: php.gd.devel 
Request: Send a blank email to php-gd-devel+get-82@lists.php.net to get a copy of this message
On 2/9/07, Lars Hecking <lhecking@users.sourceforge.net> wrote:
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.
Nice, I was unsure about the behavior of LD at execution time. If it uses the one found during the compilation or the first found in the LD path. --Pierre

« previous php.gd.devel (#82) next »