[Mapserver-users] Install help

Vincent Schut schut at sarvision.com
Mon Aug 11 08:31:46 EDT 2003


A note about this: you can avoid this danger by either:
- installing the package where the rpm was installed (usually use 
'--prefix=/usr' when running ./configure)
- adding /usr/local/lib to your dynamic linker path, e.g. by adding it to 
/etc/ld.so.conf, and running ldconfig after compiling and installing a new 
library. Existing programs should then be able find the new library. Of 
course the new library should be api-compatible with the older one for 
existing programs to keep running.
I find it usually safer to do one of these, then to have multiple versions of 
a lib on my hd in different places, with the danger of packages being 
indirectly linked to 2 different versions of the same lib (like can be the 
case with mapscript and php, using different versions of GD...)

Cheers,
Vincent.

On Monday 11 August 2003 17:32, Siki Zoltan wrote:
> Hi Steve,
>
> On Mon, 11 Aug 2003 woodbri at swoodbridge.com wrote:
> > Siki,
> >
> > You need to uninstall the rpm first with:
> >
> > rpm -e --nodeps gd
> > rpm -e --nodeps gd-devel
>
> --nodeps can be dangerous mainly if the newer version gd 2.0.x is
> in /usr/local, a lot of packages may depend on gd, none of them will work
> after removing gd and gd-devel.
> I have both gd 1.8.x as an rpm and 2.0.15 build from source on
> my system.
>
> > Then build and install gd-2.0.15
> >
> > -Steve W.
> >
> > On 11 Aug 2003 at 9:08, Siki Zoltan wrote:
> > > Hi,
> > >
> > > You may install a package on RedHat from an RPM or from sources.
> > > The old GD was installed from an RPM, that is way you see it with rpm
> > > -q You build the new version from sources, so  rpm -q can't see it.
> > > Now you have two versions of GD on your  linux box, the old one in the
> > > /usr and the new one in /usr/local. You must specify the location for
> > > the configure script of mapserver --with-gd=DIR to force mapserver to
> > > use the new one. You may remove the old GD with rpm -e package.
> > >
> > > Probably you won't find an rpm for the newest GD (I couldn't).
> > > So rpm can handle packages installed from .rpm files.
> > >
> > > --
> > > Zoltan
> > >
> > > On Mon, 11 Aug 2003, Ethan Granger wrote:
> > > > My system: RedHat 9.0, Apache 2.0.40, PHP 4.2.2
> > > >
> > > > I am a linux newbie and I am trying to install mapserver.  I noticed
> > > > that I needed an upgraded GD library than came with my RH9.  When I
> > > > typed the command "rpm -q gd" I got "gd-1.8.4-11" which I isn't good
> > > > enough according to the instructions.  So this is what I did:
> > > >
> > > > Downloaded gd-2.0.15 to /root
> > > > typed "tar -zxvf gd-2.0.15.tar.gz"
> > > > typed "cd gd-2.0.15"
> > > > typed "./configure"
> > > > typed "make"
> > > > typed "make install"
> > > > typed "cd /"
> > > > typed "rpm -q gd" and "I got gd-1.8.4-11"
> > > >
> > > > What gives? How come gd was not upgraded?  How do I figure out where
> > > > RH9 installed it and remove it? or overwrite it?
> > > >
> > > > thanks for your help.
> > >
> > > _______________________________________________
> > > Mapserver-users mailing list
> > > Mapserver-users at lists.gis.umn.edu
> > > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users

-- 
______________________________________
Vincent Schut
Sarvision B.V.
Wageningen, The Netherlands
www.sarvision.com



More information about the mapserver-users mailing list