Re: [GD-DEVEL] How to upgrade?
[email protected] (Pierre)
| Newsgroups | php.gd.devel |
|---|---|
| Message-ID | <[email protected]> |
On 2/9/07, Lars Hecking <[email protected]> wrote: > Pierre writes: > > Hi, > > > > On 2/8/07, Esteban Flores <[email protected]> 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